Skip to content

BM_LinModeTypeDef enumeration reference

BMAPI 1.14.0.42 · bm_usb_def.h

typedef enum
{
BM_LIN_OFF_MODE = 0x00,
BM_LIN_SLAVE_MODE = 0x01,
BM_LIN_INTERNAL_LOOPBACK_MODE = 0x02,
BM_LIN_LISTEN_ONLY_MODE = 0x03,
BM_LIN_MASTER_MODE = 0x08,
} BM_LinModeTypeDef;

LIN mode IDs, used by BM_SetLinMode() to change the operation mode of LIN device.

Name Value expression Description
BM_LIN_OFF_MODE 0x00 The device is logically disconnected from LIN bus
BM_LIN_SLAVE_MODE 0x01 The device is running as a slave node (with the capability to transmit and receive LIN messages
BM_LIN_INTERNAL_LOOPBACK_MODE 0x02 The device is looping back messages internally without impacting the physical LIN bus
BM_LIN_LISTEN_ONLY_MODE 0x03 The device is receiving messages without impacting the physical LIN bus
BM_LIN_MASTER_MODE 0x08 The device is running as a master node

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