#pragma CODE_SEG NON_BANKED interrupt void timer_channel0_isr(void) { TIE &=0xFE; // Timer Interrupt Mask disable TFLG1 |=0x01; // Input Capture/Output Compare Channel “x” Flag. // To clear a bit in the flag register, write a one to the bit. PWME &=0xFB; // Disable pwm1 } #pragma CODE_SEG DEFAULT
怎么执行到中断服务程序后还回不了呢? |