This file contains the prototype of LIN driver APIs.
Go to the source code of this file.
Data Structures | |
| struct | LIN_HwAttrs |
| struct | LIN_BaudConfigParams |
| struct | LIN_SCI_Frame |
| LIN Frame Structure. More... | |
| struct | LIN_SciConfigParams |
| struct | LIN_LinConfigParams |
| struct | LIN_OpenParams |
| struct | LIN_Object |
| struct | LIN_Config |
| LIN Global Configuration. More... | |
Typedefs | |
| typedef struct LIN_Config_ts * | LIN_Handle |
| A handle that is returned from a LIN_open() call. More... | |
| typedef void * | LIN_DmaChConfig |
| typedef void * | LIN_DmaHandle |
LIN Baud Configuration Parameters | |
| typedef void(* | LIN_IdMatchCallbackFxn) (LIN_Handle handle, LIN_SCI_Frame *frame) |
| The definition of a callback function used by the LIN driver when used in LIN_TRANSFER_MODE_CALLBACK. More... | |
| typedef void(* | LIN_TransferCompleteCallbackFxn) (LIN_Handle handle, LIN_SCI_Frame *frame) |
| The definition of a callback function used by the LIN driver when used in LIN_TRANSFER_MODE_CALLBACK. More... | |
Functions | |
LIN Object | |
| void | LIN_init (void) |
| Initialize each driver instance object and create driver lock. More... | |
| void | LIN_deinit (void) |
| De-initialize each driver instance object and delete driver lock. More... | |
| void | LIN_Params_init (LIN_OpenParams *openParams) |
| API to initialize the LIN_OpenParams struct to its defaults. More... | |
| LIN_Handle | LIN_open (uint32_t index, LIN_OpenParams *openParams) |
| API to Open a given LIN Instance. More... | |
| void | LIN_close (LIN_Handle handle) |
| API to Close the LIN Instance specified by the handle. More... | |
| void | LIN_SCI_Frame_init (LIN_SCI_Frame *frame) |
| API to set default values of LIN_SCI_Frame in frame. More... | |
| int32_t | LIN_SCI_transferFrame (LIN_Handle handle, LIN_SCI_Frame *frame) |
| API to initiate a LIN/SCI frame transfer. More... | |
| LIN_Handle | LIN_getHandle (uint32_t index) |
| API to get the handle of an open LIN instance from the instance index. More... | |