I want to use can callback function to realize the interrupt of sending and receiving

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

I want to use can callback function to realize the interrupt of sending and receiving

1,283件の閲覧回数
zzqq
Contributor III

I want to use can callback function to realize the interrupt of sending and receiving.

But I feel it is hard to achieve

 
Because there is only one callback:FLEXCAN_DRV_InstallEventCallback(INST_CANCOM1,cancom1_callback, (void *)0);
How do I implement the data sending and receiving through the (cancom1_callback)  callback function?
0 件の賞賛
1 返信

944件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

see attached example. It shows how the Callback function is installed and used.

Hope it helps.

BR, Petr

0 件の賞賛