|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
LIN event structure. More...
#include <lin.h>
Data Fields | |
| enum lin_event_type | type |
| LIN event type. | |
| int | status |
| LIN status code, if any. | |
| union { | |
| struct { | |
| uint8_t pid | |
| LIN Protected ID. More... | |
| } header | |
| LIN header event context, if any. More... | |
| struct { | |
| uint8_t pid | |
| LIN Protected ID. More... | |
| uint8_t bytes_received | |
| Number of data bytes received. More... | |
| uint8_t checksum | |
| Received checksum. More... | |
| } data | |
| LIN data event context, if any. More... | |
| lin_error_flags_t error_flags | |
| LIN error event flags, if any. More... | |
| }; | |
| Event-specific context information. | |
LIN event structure.
This structure is used to pass LIN events to the application.
| union { ... } lin_event |
Event-specific context information.
| uint8_t lin_event::bytes_received |
Number of data bytes received.
| uint8_t lin_event::checksum |
Received checksum.
| struct { ... } lin_event::data |
LIN data event context, if any.
| lin_error_flags_t lin_event::error_flags |
LIN error event flags, if any.
| struct { ... } lin_event::header |
LIN header event context, if any.
| uint8_t lin_event::pid |
LIN Protected ID.
| int lin_event::status |
LIN status code, if any.
| enum lin_event_type lin_event::type |
LIN event type.