我写了个串口中断程序,使用的是UART2,中断入口是UARTIntHandler,如何通过代码设置UART2的优先级仅次于FaultISR
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.
ye hu
Tiva的中断有0-7八个优先级,可以通过Interrupt 4n - (4n+3) Priority (PRIn)进行设置。n为优先级寄存器的序号。
具体设置方法,你可以查看Tivaware中interrupt例程。