예제 #1
0
/* 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;
}
예제 #2
0
CO_CAN_ISR2(){
    CO_CANinterrupt(CO->CANmodule[1]);
    /* Clear combined Interrupt flag */
    CO_CAN_ISR2_FLAG = 0;
}
예제 #3
0
파일: main.c 프로젝트: GrandHsu/CANopenNode
/* 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;
}