跳转到内容

BM_LinModeTypeDef 枚举参考

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.

名称 值表达式 说明
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

来源:BMAPI 1.14.0.42 正式 Doxygen 文档。技术说明保留原文;安装包中的头文件和帮助文档定义对应版本的接口契约。