BM_SET_EXT_MSG_ID 常量与宏参考
BMAPI 1.14.0.42 · bm_usb_def.h
#define BM_SET_EXT_MSG_ID(_struct, _id29) { \ (_struct).SID = (((uint32_t)(_id29)) >> 18) & 0x7FFU; \ (_struct).EID = (((uint32_t)(_id29)) & 0x3FFFFU); \ (_struct).SID11 = 0U; \ (_struct).unimplemented1 = 0U; \}Value:
{ \ (_struct).SID = (((uint32_t)(_id29)) >> 18) & 0x7FFU; \ (_struct).EID = (((uint32_t)(_id29)) & 0x3FFFFU); \ (_struct).SID11 = 0U; \ (_struct).unimplemented1 = 0U; \}Helper macro to initialize a BM_MessageIdTypeDef object using a 29-bit CAN extended message ID.
关联类型与常量
Section titled “关联类型与常量”来源:BMAPI 1.14.0.42 正式 Doxygen 文档。技术说明保留原文;安装包中的头文件和帮助文档定义对应版本的接口契约。