|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Common LIN driver data structure. More...
#include <lin.h>
Data Fields | |
| struct lin_config | config |
| Current LIN controller configuration. | |
| bool | started |
| True if LIN controller is started, false otherwise. | |
| lin_event_callback_t | callback |
| LIN event callback function pointer or NULL. | |
| void * | callback_data |
| User data pointer passed to the callback function. | |
Common LIN driver data structure.
This structure is used to hold LIN driver state and is expected to be the first element in the object pointed to by the data field in the device structure.
| lin_event_callback_t lin_driver_data::callback |
LIN event callback function pointer or NULL.
| void* lin_driver_data::callback_data |
User data pointer passed to the callback function.
| struct lin_config lin_driver_data::config |
Current LIN controller configuration.
| bool lin_driver_data::started |
True if LIN controller is started, false otherwise.