Error Handling in Lin Stack

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error Handling in Lin Stack

310 Views
itsnewforme
Contributor IV

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.

itsnewforme_1-1667459904451.png

Thank you

 

 

Tags (2)
0 Kudos
1 Reply

267 Views
nxf78987
NXP Employee
NXP Employee

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

0 Kudos