您好,我2808中断优先级的理解有点疑问,想要问一下,下面是2808的中断向量表
比如:程序初始化中我置了EPWM1_INT , I2CINT2A , ECAN2_INTB三个中断,程序运行过程中Ecan2_intB 中断发生了,CPU跳转到CAN中断程序执行,在执行CAN中断的过程中 EPWM1_INT也突然发生,请问此时CPU会立刻挂起未执行完的CAN中断去执行EPWM1_INT的中断吗?还是要等待先把CAN中断的程序执行完
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.
您好,我2808中断优先级的理解有点疑问,想要问一下,下面是2808的中断向量表
比如:程序初始化中我置了EPWM1_INT , I2CINT2A , ECAN2_INTB三个中断,程序运行过程中Ecan2_intB 中断发生了,CPU跳转到CAN中断程序执行,在执行CAN中断的过程中 EPWM1_INT也突然发生,请问此时CPU会立刻挂起未执行完的CAN中断去执行EPWM1_INT的中断吗?还是要等待先把CAN中断的程序执行完
xiangpu cheng,
你可以参考以下两篇帖子理解,虽然不是2808,但理解上是一样的:
http://www.deyisupport.com/question_answer/microcontrollers/c2000/f/56/t/17862.aspx
http://www.deyisupport.com/question_answer/microcontrollers/c2000/f/56/t/17727.aspx