AnsweredAssumed Answered

How to set an interrupt to be direct?

Question asked by Jeremy Sanchez on Nov 30, 2009
Latest reply on Nov 9, 2015 by Brian Willoughby

Is there an example of how to do this?

MQXUG reads the following, but being new to MQX this is not helping me much.


An interrupt comes at periodic intervals that my application must respond to very quickly
— quicker than MQX allows. What can I do?
Call _int_install_kernel_isr() to replace the kernel ISR (_int_kernel_isr()). Your replacement ISR must:
• Save all registers on entry, and restore them on exit.
• It must not call any MQX functions.
• Pass information to other tasks (if required) by an application-implemented mechanism (usually
ring buffers with head and tail pointers and total size fields).


Any help will be appreciatted,