LPC55S06 MCAN Difference between TransferCreateHandle and TransferReceiveFifoNonBlocking

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC55S06 MCAN Difference between TransferCreateHandle and TransferReceiveFifoNonBlocking

342件の閲覧回数
MarcoGiammarini
Contributor III

Hi,

we are developing a project with CAN and we can't understand a behavioral: in the MCAN example NXP use MCAN_TransferCreateHandle to create handle and then MCAN_TransferReceiveFifoNonBlocking to enable the message reception. In our code we user only MCAN_TransferCreateHandle to create handle and then we manage only the callback and it works, but we don't understand why!

which is the difference?

Thanks

Marco

 

ラベル(2)
0 件の賞賛
返信
1 返信

279件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @MarcoGiammarini 

MCAN_TransferCreateHandle() is set send/receive interrupt call back function.

MCAN_TransferReceiveFifoNonBlocking()is config some receive related registers.

If you do not call it, the registers keep default value. So maybe it also can work.

 

BR

Alice

 

 

0 件の賞賛
返信