是否需要设置任何特殊模式或寄存器,以便具有NVIC的ARM处理器使用中断的尾链和堆栈弹出式抢占。
答案 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.