BM_LinMessageCtrlTypeDef
BM_LinMessageCtrlTypeDef data structure.
Members
Section titled “Members”| Member | Declaration | Description |
|---|---|---|
DLC |
uint32_t DLC: 4 |
LIN message DLC(0-8), if DLC=0b1111, data length is given by ID[5:4]: 0:2, 1:2, 2:4, 3:8 |
TRANSMIT |
uint32_t TRANSMIT: 1 |
Transfer direction: 0=receive, 1=transmit |
WAKEUP |
uint32_t WAKEUP: 1 |
This is a wakeup event |
SLEEP |
uint32_t SLEEP: 1 |
This is a sleep event |
ENHANCED_CHECKSUM |
uint32_t ENHANCED_CHECKSUM: 1 |
Flag for enhanced checksum |
USER_CHECKSUM |
uint32_t USER_CHECKSUM: 1 |
Flag for user defined checksum, use value from ‘CHECKSUM’ field if USER_CHECKSUM==1 |
SEQ |
uint32_t SEQ: 7 |
hardware-sync message ID, the ACK message’s SEQ is always equal to the TX message’s SEQ or TXTASK index |
ISTXTASK |
uint32_t ISTXTASK: 1 |
A indicator for TXTASK TEF event, SEQ=TXTASK index if ISTXTASK=1 |
ERRORS |
uint32_t ERRORS: 6 |
Error code, which is a bitmask, see BM_LinErrorTypeDef for details. |
SYNC_BREAK |
uint32_t SYNC_BREAK: 1 |
TX: master emits LIN header only (break + sync + PID), without data/checksum. RX: header-only LIN frame detected on bus (break + sync + PID, no following data/checksum). (Replaces the former unused ID_PARITY slot.) |
CHECKSUM |
uint32_t CHECKSUM: 8 |
Checksum value |
This data-structure reference follows the current BUSMUST BMAPI SDK.