/* CAN interrupt function *****************************************************/ CO_CAN_ISR(){ CAN_RX_LED = 1; CO_CANinterrupt(CO->CANmodule[0]); /* Clear combined Interrupt flag */ CO_CAN_ISR_FLAG = 0; CAN_RX_LED = 0; }
CO_CAN_ISR2(){ CO_CANinterrupt(CO->CANmodule[1]); /* Clear combined Interrupt flag */ CO_CAN_ISR2_FLAG = 0; }
/* CAN interrupt function *****************************************************/ void /* interrupt */ CO_CAN1InterruptHandler(void){ CO_CANinterrupt(CO->CANmodule[0]); /* clear interrupt flag */ }
/* CAN interrupt function *****************************************************/ void CO_CAN_ISR() { CO_CANinterrupt(CO->CANmodule[0]); /* Clear combined Interrupt flag */ //CO_CAN_ISR_FLAG = 0; }