Hi,
below is feedback from RTD team...
This way just applied in ASR context. Please follow steps:
1. Create 1 callback function for Bus off in main.c. User defines this function by themselves.
PetrS_0-1733310461173.png
2. Create 1 header file to extern this callback function and this file will be included in Can_Cfg.c. In my case, I created CanIf_Header.h
PetrS_1-1733310461451.png
In this file, extern the function Bus Off Callback.
PetrS_2-1733310461448.png
3. In CanIf configuration, fill header file and Call back function name.
PetrS_3-1733310461087.png
PetrS_4-1733310461415.png
BR, Petr