![]() |
S32 SDK
|
This group contains APIs that help users manage interface(s) in LIN node.
Functions | |
l_bool | l_ifc_init (l_ifc_handle iii) |
Initialize the controller specified by name, i.e. sets up internal functions such as the baud rate. The default schedule set by the l_ifc_init call will be the L_NULL_SCHEDULE where no frames will be sent and received. This is the first call a user must perform, before using any other interface related LIN API functions. The function returns zero if the initialization was successful and non-zero if failed. More... | |
void | l_ifc_goto_sleep (l_ifc_handle iii) |
Request slave nodes on the cluster connected to the interface to enter bus sleep mode by issuing one go to sleep command. This API is available only for Master nodes. More... | |
void | l_ifc_wake_up (l_ifc_handle iii) |
Transmit the wake up signal. More... | |
l_u16 | l_ifc_read_status (l_ifc_handle iii) |
This function will return the status of the previous communication. More... | |
void l_ifc_goto_sleep | ( | l_ifc_handle | iii | ) |
Request slave nodes on the cluster connected to the interface to enter bus sleep mode by issuing one go to sleep command. This API is available only for Master nodes.
[in] | iii | Interface name |
Definition at line 382 of file lin_common_api.c.
l_bool l_ifc_init | ( | l_ifc_handle | iii | ) |
Initialize the controller specified by name, i.e. sets up internal functions such as the baud rate. The default schedule set by the l_ifc_init call will be the L_NULL_SCHEDULE where no frames will be sent and received. This is the first call a user must perform, before using any other interface related LIN API functions. The function returns zero if the initialization was successful and non-zero if failed.
[in] | iii | Interface name |
Definition at line 411 of file lin_common_api.c.
l_u16 l_ifc_read_status | ( | l_ifc_handle | iii | ) |
This function will return the status of the previous communication.
[in] | iii | Interface name |
Definition at line 475 of file lin_common_api.c.
void l_ifc_wake_up | ( | l_ifc_handle | iii | ) |
Transmit the wake up signal.
[in] | iii | Interface name |
Definition at line 461 of file lin_common_api.c.