cancel
Showing results for 
Search instead for 
Did you mean: 

question about interrups

ezrab
Associate II
Posted on October 18, 2010 at 15:28

what will happen if during an interrupt routin another interrupt request will accure ?

will the micro jump to the other or finish this routine and the jump to the other?

thanks.

1 REPLY 1
Posted on October 18, 2010 at 17:14

what will happen if during an interrupt routine another interrupt request will occurs ?

 

will the micro jump to the other or finish this routine and the jump to the other?

 

It depends on the priority and preemption settings for the interrupt in the NVIC. Would suggest you look at the manuals ARM provides for the Cortex-M3 for the core (including the NVIC), and/or Joseph Yiu's book on the Cortex-M3.

Interrupts with high priority will break into the execution of user or low priority interrupt code. Interrupts with lower or equivalent priority will be executed as you leave the current handler code. The order will depend on the sub-priority level, or the interrupt number, depending on if/how the NVIC is configured.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..