This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWR6843ISK: CAN: The handle in the MCANAppCallback confuses me.

Part Number: IWR6843ISK


I am trying to handle several msg objects in my can drivers and need to know which msg object that the callback is applicable to. 

Quite often the handle is either 0 or 1.  I was hoping that the handle would always correspond with the handle that was returned when creating the msg object (CANFD_createRxMaskedMsgObject or CANFD_createMsgObject).

static void MCANAppCallback(CANFD_MsgObjHandle handle, CANFD_Reason reason)

How do this work?

PS: I will answer my other issue as resolved as soon as I have it running, it will be tested at the same time as this...