Firmware User Manual (AE-step)
83
Revision 1.02
2019-04-24
TLE984x Firmware User Manual
It is not allowed to be called by NVM callback routines or any interrupt or multi-threaded environment in a re-
entrant context.
6.8.9
user_nad_get
Description
This user API function reads out the LIN NAD value that is currently configured in the non volatile device
configuration memory.
Prototype
uint8_t user_nad_get (void)
Parameters
void
Return Values
6.8.10
user_nad_set
Description
This user API function configures the LIN NAD value in the non volatile device configuration memory.
This function rejects with an error in case the NVM code segment is write protected.
Prototype
int32_t user_nad_set (
uint8_t nad
)
Parameters
Data Type
Description
uint8_t
The LIN NAD value which is found in the configuration memory. It returns the
default broadcast address in case no LIN NAD value is currently configured in the
configuration memory.
Data Type
Name
Description
Dir
uint8_t
nad
LIN NAD value to be stored in the device configuration
memory. Valid range is from 0x80-0xFF.
-