|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
LIN message structure. More...
#include <lin.h>
Data Fields | |
| uint8_t | id |
| LIN message ID. | |
| uint8_t | flags |
| Flags for the message. | |
| uint8_t | data_len |
| Data length for the message. | |
| union { | |
| uint8_t data [LIN_MAX_DLEN] | |
| Payload data accessed by bytes. More... | |
| uint32_t data_32 [DIV_ROUND_UP(LIN_MAX_DLEN, sizeof(uint32_t))] | |
| Payload data accessed by 32-bit words. More... | |
| }; | |
| Message payload data. | |
| enum lin_checksum_type | checksum_type |
| Checksum type for the message. | |
LIN message structure.
| union { ... } lin_msg |
Message payload data.
| enum lin_checksum_type lin_msg::checksum_type |
Checksum type for the message.
| uint8_t lin_msg::data[LIN_MAX_DLEN] |
Payload data accessed by bytes.
| uint32_t lin_msg::data_32[DIV_ROUND_UP(LIN_MAX_DLEN, sizeof(uint32_t))] |
Payload data accessed by 32-bit words.
| uint8_t lin_msg::data_len |
Data length for the message.
| uint8_t lin_msg::flags |
Flags for the message.
| uint8_t lin_msg::id |
LIN message ID.