王工:
在我的程序中使用了两个中断,中断通道号分别是63和73,TMS570支持中断嵌套么,就是在程序正在执行73号中断服务程序时,63号的中断产生,此时系统怎么处理,是立即响应63号中断,还是等73号中断执行完再响应63号中断,还是直接丢弃63号中断。谢谢
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
王工:
在我的程序中使用了两个中断,中断通道号分别是63和73,TMS570支持中断嵌套么,就是在程序正在执行73号中断服务程序时,63号的中断产生,此时系统怎么处理,是立即响应63号中断,还是等73号中断执行完再响应63号中断,还是直接丢弃63号中断。谢谢
Hi Bo,
The ARM Cortex-R4/5 (ARMv7-R architecture) processor does not support interrupt nesting in hardware.
The ARM Cortex-R4/5 core does not support more than one IRQ to be taken at a time. This is mainly because it has only one Saved Program Status Register (SPSR) and one Link Register (LR) register. If an IRQ is interrupted by another IRQ, these CPU registers would get overwritten (corrupted) and a later restoring of the processor state would not be possible anymore.
是立即响应63号中断,还是等73号中断执行完再响应63号中断,还是直接丢弃63号中断
等73号中断执行完再响应63号中断