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.
你好,我在函数中使用了DINT(#define DINT __asm(" setc INTM"))进行全局中断屏蔽。但是Timer0中断为啥没法屏蔽呢?
1.使用全局中断屏蔽是可以屏蔽Timer0中断的,上述“timer0中断没法屏蔽问题”是因为在屏蔽中断之后执行函数时,又开启了全局中断导致的
2.跳转失败是因为CCS生成的bin文件是小端在前的,导致烧录到Flash里面的代码高低位跟实际的hex文件高低位是反的