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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

855 Views
jinshuaixu
Contributor V

Hello ,big god:
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  to judge mailbox whether it is busy or idle. who can give me some advise,thank you for your helping.

Labels (1)
Tags (1)
0 Kudos
0 Replies