Skip to content

BM_AutosetEx

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)
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.