我现在要实现以下功能;
定义了Timer0为25us中断和Timer2为1us的中断;Timer0的中断优先级最高,运行中断服务程序不能被打断,但是可以打断Timer2的中断服务程序;
看说明书上介绍设备硬件的优先级Timer0比Timer2高,但实际运行中,感觉Timer2服务程序时,Timer0到来时,没直接运行Timer0,而是等Timer2运行完,才运行Timer0的;有什么办法实现?
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.
我现在要实现以下功能;
定义了Timer0为25us中断和Timer2为1us的中断;Timer0的中断优先级最高,运行中断服务程序不能被打断,但是可以打断Timer2的中断服务程序;
看说明书上介绍设备硬件的优先级Timer0比Timer2高,但实际运行中,感觉Timer2服务程序时,Timer0到来时,没直接运行Timer0,而是等Timer2运行完,才运行Timer0的;有什么办法实现?
默认情况下中断是不能嵌套的:
想要实现中断嵌套的话可以看下这个链接:
https://software-dl.ti.com/C2000/docs/c28x_interrupt_nesting/html/index.html