例程lab13b中,请问中断优先级在哪里设置
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.
首先,C2000芯片的中断优先级是固定的。然后,中断优先级只有在两个中断同时发生的情况下才有意义。
如果两个中断同时发生,那么中断优先级高的中断会优先被响应,当优先级高的执行完后才会响应低优先级的。
如果一个中断已经被响应,那么不管后一个中断优先级的高低,都需要等到前一个中断执行完后才会响应。
注:以上说明不包括使用中断嵌套的情况