S32 SDK
lin_commontl_api.c File Reference

Go to the source code of this file.

Functions

void ld_init (l_ifc_handle iii)
 Initialize or reinitialize the raw and cooked layers. More...
 
void ld_put_raw (l_ifc_handle iii, const l_u8 *const data)
 Queue the transmission of 8 bytes of data in one frame. More...
 
void ld_get_raw (l_ifc_handle iii, l_u8 *const data)
 Copy the oldest received diagnostic frame data to the memory specified by data. More...
 
l_u8 ld_raw_tx_status (l_ifc_handle iii)
 Get the status of the raw frame transmission function. More...
 
l_u8 ld_raw_rx_status (l_ifc_handle iii)
 Get the status of the raw frame receive function. More...
 
void ld_send_message (l_ifc_handle iii, l_u16 length, l_u8 NAD, const l_u8 *const data)
 Pack the information specified by data and length into one or multiple diagnostic frames. More...
 
void ld_receive_message (l_ifc_handle iii, l_u16 *const length, l_u8 *const NAD, l_u8 *const data)
 Prepare the LIN diagnostic module to receive one message and store it in the buffer pointed to by data. More...
 
l_u8 ld_tx_status (l_ifc_handle iii)
 Get the status of the last made call to ld_send_message. More...
 
l_u8 ld_rx_status (l_ifc_handle iii)
 Get the status of the last made call to ld_send_message. More...