BM_AutosetCallbackHandle 句柄与类型别名参考
BMAPI 1.14.0.42 · bmapi.h
typedef uint32_t(* BM_AutosetCallbackHandle) (const BM_BitrateTypeDef *bitrate, BM_TerminalResistorTypeDef tres, int nrxmessages, uintptr_t userarg);Pointer to a Callback function when AUTOSET status is updates, indicating a bitrate option has passed or failed.
| 方向 | 名称 | 说明 |
|---|---|---|
| [in] | bitrate | The bitrate option value which has passed or failed. |
| [in] | tres | The terminal resistor option value which has passed or failed. |
| [in] | nrxmessages | Number of received messages while listening to the bus using bitrate and tres. |
| [in] | userarg | Arbitrary user argument passed by BM_Autoset(). |
Return 0 to continue AUTOSET sequence, return non-zero value to cancel AUTOSET sequence.
关联类型与常量
Section titled “关联类型与常量”使用此类型的函数
Section titled “使用此类型的函数”来源:BMAPI 1.14.0.42 正式 Doxygen 文档。技术说明保留原文;安装包中的头文件和帮助文档定义对应版本的接口契约。