CAN_RX1 CAN RX1 interrupt CAN_SCE CAN SCE interrupt
voidCAN1_SCE_IRQHandler(void) { staticuint32_t_CAN_Error =0; staticuint32_t_CAN_Error_Last =0; staticuint16_tcount =0; if(CAN1->ESR& (CAN_ESR_EWGF | CAN_ESR_EPVF | CAN_ESR_BOFF)) { //if error happened, copy the state ...