Skip to content

BM_LinMessageFlagsTypeDef enumeration reference

BMAPI 1.14.0.42 · bm_usb_def.h

typedef enum
{
BM_LIN_MESSAGE_FLAGS_TRANSMIT = 0x01U,
BM_LIN_MESSAGE_FLAGS_WAKEUP = 0x02U,
BM_LIN_MESSAGE_FLAGS_SLEEP = 0x04U,
BM_LIN_MESSAGE_FLAGS_ENHANCED_CHECKSUM = 0x08U,
BM_LIN_MESSAGE_FLAGS_USER_CHECKSUM = 0x10U,
BM_LIN_MESSAGE_FLAGS_SYNC_BREAK = 0x20U,
} BM_LinMessageFlagsTypeDef;

LIN Message type flags, used in BM_TxTaskTypeDef.

Name Value expression Description
BM_LIN_MESSAGE_FLAGS_TRANSMIT 0x01U Transfer direction: 0=receive, 1=transmit
BM_LIN_MESSAGE_FLAGS_WAKEUP 0x02U This is a wakeup event
BM_LIN_MESSAGE_FLAGS_SLEEP 0x04U This is a sleep event
BM_LIN_MESSAGE_FLAGS_ENHANCED_CHECKSUM 0x08U Flag for enhanced checksum
BM_LIN_MESSAGE_FLAGS_USER_CHECKSUM 0x10U Flag for user defined checksum, use value from ‘CHECKSUM’ field if USER_CHECKSUM==1
BM_LIN_MESSAGE_FLAGS_SYNC_BREAK 0x20U 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).

Source: BMAPI 1.14.0.42 released Doxygen documentation. The headers and help files bundled with an installed SDK define its version-specific contract.