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.
代码和代码说明没有对齐,格式乱了。不过我看到您代码里结束的时候有 disable interrupt的操作,是否是这个操作引起的问题呢?
第一张图是初始化定时器, 第二张图是打开定时器中断, 第三张是关闭定时器中断, 在打开定时器中断时, 就进不去定时器中断了
先检查下TIMER对应的EVENT有没有产生吧
就是第一次开启定时器8的时候是可以进入中断的,但是关闭中断在打开中断的时候就进不去了
谢谢你,问题已经解决, 关闭定时中断时, 关闭了定时中断句柄, 重新开启时, 并没有将中断句柄打开