How to use register to set Flexcan for judge mailbox whether is busy or idle on S32K144

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to use register to set Flexcan for judge mailbox whether is busy or idle on S32K144

584 次查看
jinshuaixu
Contributor V

Hello to everybody:

        Now, l want to judge whether mailbox 6 is idle or busy,l use library function just as below ago:

if (FLEXCAN_DRV_GetTransferStatus(INST_CANCOM1, TX_MAILBOX_6) != STATUS_BUSY) {

    //do something
 }

     if l want to use register just as "if((CAN0->IFLAG1)&0x00200000)". who can give me some advise,thank you for your helping.

标签 (1)
0 项奖励
0 回复数