如何指示ARM Cortext执行中断的尾链或堆栈弹出式抢占?

时间:2019-03-17 21:41:54

标签: arm embedded-linux microcontroller

是否需要设置任何特殊模式或寄存器,以便具有NVIC的ARM处理器使用中断的尾链和堆栈弹出式抢占。

1 个答案:

答案 0 :(得分:2)

No, there is no special mode. Providing you have interrupts enabled with the right priorities, the core will preempt (requiring a higher priority arrival during stacking), or tail-chain (same or lower priority) whenever a 2nd interrupt arrives after the first has started to be handled.

There is no gain to be had from disabling this behaviour, the priority registers already give you full control.