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.
该开发环境怎么编写关于中断的程序,有没有类似ISR(){}的函数,我想写关于外部触发中断的函数。
关于中断的写法,请参考TivaWare中的例程:
C:\ti\TivaWare_C_Series-2.1.0.12573\examples\boards\ek-tm4c123gxl\timers
这个是定时器的。
启动文件中找到定时器中断的入口,并将函数进行声明。然后源码中直接使用就行了