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.

C6701timer中断不进入中断服务程序的问题



请教,timer中断都需要哪些设置工作?我用timer0或者timer1,指向int14中断。已查到muxh中相应的值是正确的,ier=0x04001,ifr=0x04000,istp指向了int14的中断向量表,但是中断服务程序中的用作标志的变量一直没有得到执行,也就是说,没有进入中断。计数器在计数,达到设计值后继续重新计数。我是哪里出了问题,请给与指点。谢谢。