AnsweredAssumed Answered

rx_callback function in the example AN4975

Question asked by Frank Kong on Aug 28, 2019
Latest reply on Sep 5, 2019 by lama

Hello, 

 I am using the example of MSCAN(AN4975). What's the function of callback funcation? How it works?

 

void (*rx_callback)(unsigned int, unsigned char[8], unsigned char);

if(rx_callback!=NULL){
rx_callback(id, data, length);
}

 

CAN_set_rx_callback(&processCANMessage);

Attachments

Outcomes