interrupt void ILLEGAL_ISR(void) // Illegal operation TRAP
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm(" ESTOP0");
for(;;);
}
我写的电机控制程序,经常跑到违法中断里面去。
请问高手,什么时候会进到违法中断里?谢谢!
|