BM_Control
函数名、签名、参数与返回值和 BMAPI SDK 保持一致,可直接用于开发、检索与代码审查。
Control the given channel, this is an advanced interface and is typically used internally by BMAPI.
BMAPI BM_StatusTypeDef BM_Control (BM_ChannelHandle handle, uint8_t command, uint16_t value, uint16_t index, void *data, int nbytes)Parameters
Section titled “Parameters”| Direction | Name | Description |
|---|---|---|
| [in] | handle |
Handle to the channel to control. |
| [in] | command |
Control command. |
| [in] | value |
Control value. |
| [in] | index |
Control index. |
| [in,out] | data |
Control data, could be NULL. |
| [in,out] | nbytes |
Length in bytes of the control data, could be zero. |
This reference follows the current BUSMUST BMAPI SDK. For an installed package, its bundled header and help files define the exact version-specific contract.