Interrupt handlers always run in interrupt context.
中断处理程序始终在中断上下文中运行。
This function cannot be called from interrupt context.
这个函数不能从中断上下文调用。
This field will only be filled in in interrupt context.
该字段只能在中断上下文中被填充。
The question is, how much work should be done in the interrupt context?
问题在于,有多少任务需要在中断上下文完成?
On top of these register #define macros, you should also define another macro that dictates whether the ISR will run in simulation mode or in the original interrupt context. For example
在这些寄存器的 #define宏前面,还应该定义另外一个宏,它用来说明 ISR 是在模拟模式中运行还是在原来的中断上下文中运行的。
On top of these register #define macros, you should also define another macro that dictates whether the ISR will run in simulation mode or in the original interrupt context. For example
在这些寄存器的 #define宏前面,还应该定义另外一个宏,它用来说明 ISR 是在模拟模式中运行还是在原来的中断上下文中运行的。
应用推荐