Error Handling in Lin Stack

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Error Handling in Lin Stack

721 次查看
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

 

 

标记 (2)
0 项奖励
回复
1 回复

678 次查看
DanNguyenDuy
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 项奖励
回复