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

585件の閲覧回数
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 返答(返信)