Skip to content

BM_AutosetCallbackHandle type alias reference

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.

Direction Name Description
[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.


Source: BMAPI 1.14.0.42 released Doxygen documentation. The headers and help files bundled with an installed SDK define its version-specific contract.