BM_SET_CAN_MSG_ID macro reference
BMAPI 1.14.0.42 · bm_usb_def.h
Definition
Section titled “Definition”#define BM_SET_CAN_MSG_ID(_msg, _id) { \ if ((_msg).ctrl.tx.IDE) { BM_SET_EXT_MSG_ID((_msg).id, (_id)); } else { BM_SET_STD_MSG_ID((_msg).id, (_id)); } \}Value:
{ \ if ((_msg).ctrl.tx.IDE) { BM_SET_EXT_MSG_ID((_msg).id, (_id)); } else { BM_SET_STD_MSG_ID((_msg).id, (_id)); } \}Helper macro to set(update after initialization) a BM_CanMessageTypeDef object’s 11-bit/29-bit ID.
Related types and constants
Section titled “Related types and constants”Source: BMAPI 1.14.0.42 released Doxygen documentation. The headers and help files bundled with an installed SDK define its version-specific contract.