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
PUSH IFRPOP @AR7 ; save IFR in AR7
PUSH @ALPOP IFR ; write to IFRPUSH IFRPOP AR4CMP AL,@AR4B fail_CPU_test,NEQ
PUSH @AR7POP IFR ; restore IFR
EINT
测试寄存器IFR时,已经关闭中断,测量结束后,再使能中断,PWM 中断容易死掉,Timer0中断正常?
请教一下,什么原因?