BM_AutosetEx
函数名、签名、参数与返回值和 BMAPI SDK 保持一致,可直接用于开发、检索与代码审查。
Start AUTOSET sequence with explicit passive-listen or active-detect strategy.
BMAPI BM_StatusTypeDef BM_AutosetEx (BM_ChannelInfoTypeDef *channelinfo, BM_BitrateTypeDef *bitrate, BM_TerminalResistorTypeDef *tres, const BM_AutosetConfigTypeDef *config, BM_AutosetCallbackHandle callback, uintptr_t userarg)Parameters
Section titled “Parameters”| Direction | Name | Description |
|---|---|---|
| [in] | channelinfo |
Info of the device channel to run AUTOSET on, usually the info is filled by BM_Enumerate(). |
| [out] | bitrate |
The detected bitrate. |
| [out] | tres |
The detected terminal resistor. |
| [in] | config |
AUTOSET configuration. When NULL, passive listen defaults are used. |
| [in] | callback |
A callback function which will be called on each step of AUTOSET. |
| [in] | userarg |
Arbitrary user argument of the callback function, this argument will be passed to the callback as is. |
This reference follows the current BUSMUST BMAPI SDK. For an installed package, its bundled header and help files define the exact version-specific contract.