void CAN1_RX0_IRQHandler(void){ CAN_Receive(CAN1, CAN_FIFO0, &CAN1_RxMessage[0]);CAN_...
EXPORT CAN1_SCE_IRQHandler [WEAK]这是can1的还有can2的,这里就不再列出,CAN1_TX_IRQHandler:...
有一种情况是 CAN0_ORed_Err_Wakeup_IRQHandler() 被触发,但 FLEXCAN_GetErrorCounters(base) 返回 0。此外,在这种情况下,其他中断没有被触发,因为 CAN0_ORed_Err_Wakeup_IRQHandler() 被一次又一次地触发。 我附上了来自 IDE 的调用堆栈的屏幕截图和驱动程序层正在使用 FLEXCAN_GetErrorCounters(base) 的...
After the user callback returns for the second time, FLEXCAN_IRQHandlerRxFIFO() function does not modify the status of the Rx MB Fifo as complete in accordance with the first message (it does that after the first call). Therefore, I tried check for FLEXCAN_EVENT_RXFIFO_COMPLETE event ...
After the user callback returns for the second time, FLEXCAN_IRQHandlerRxFIFO() function does not modify the status of the Rx MB Fifo as complete in accordance with the first message (it does that after the first call). Therefore, I tried check for FLEXCAN_EVENT_RXFIFO_COMPLETE event ...
PIT_Ch0_IRQHandler(void) { #if 1 can_buff_config_t buffCfg = { .enableFD = false, .enableBRS = false, .fdPadding = 0U, .idType = CAN_MSG_ID_STD, .isRemote = false }; /* Configure TX buffer with index TX_MAILBOX*/ CAN_ConfigTxBuff(&can_pal2_instan...
PIT_Ch0_IRQHandler(void) { #if 1 can_buff_config_t buffCfg = { .enableFD = false, .enableBRS = false, .fdPadding = 0U, .idType = CAN_MSG_ID_STD, .isRemote = false }; /* Configure TX buffer with index TX_MAILBOX*/ CAN_ConfigTxBuff(&can_pal2_instance, TX_MAIL...
{ break; } } /* Check Tx/Rx interrupt flag and clear the interrupt */ if(flag_reg != 0U) { if (FLEXCAN_IsRxFifoEnabled(base) && (mb_idx <= FEATURE_CAN_RXFIFO_OVERFLOW)) { FLEXCAN_IRQHandlerRxFIFO(instance, mb_idx); } else { /* Check mailbox completed reception */ if (...