跳转到内容

BM_VERSION_CODE 常量与宏参考

BMAPI 1.14.0.42 · bm_usb_def.h

#define BM_VERSION_CODE(version) (\
(((uint32_t)((version)[0])) << 24) |\
(((uint32_t)((version)[1])) << 16) |\
(((uint32_t)((version)[2])) << 8) |\
(((uint32_t)((version)[3])) << 0) )

Value:

(\
(((uint32_t)((version)[0])) << 24) |\
(((uint32_t)((version)[1])) << 16) |\
(((uint32_t)((version)[2])) << 8) |\
(((uint32_t)((version)[3])) << 0) )

Helper macro to format a 32-bit version code from channelinfo.version, which is an 8-bit array.


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