InitAdc(); 进入这个函数后运行ADC延迟函数 DELAY_US(ADC_usDELAY); 延迟函数为: .def _DSP28x_usDelay .sect "ramfuncs" .global __DSP28x_usDelay_DSP28x_usDelay: SUB ACC,#1 ///////从这个位置跳转到中断函数 BF _DSP28x_usDelay,GEQ ;; Loop if ACC >= 0 LRETR
中断函数为: interrupt void USER1_ISR(void) // User Defined trap 1 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); }
新手 不解 请各位高手支招