Hii team, in Lin stack the CALLBACK_HANDLER is used to handle different errors that can occur during LIN communication. I want to know where this CALLBACK_HANDLER sets the value, any register or memory address where we can check.
Thank you
Hi itsnewforme,
The CALLBACK_HANDLER was used by the driver layer to inform errors for the Stack layer. And the Stack layer will deal with base on this error.
Regarding how did this error occur at the driver layer? you should read codes at the driver layer.
About the CALLBACK_HANDLER function at the Stack layer, it will be called to the functions that deal with the error.
Best regards,
Dan