BM_AutosetCallbackHandle type alias reference
BMAPI 1.14.0.42 · bmapi.h
Definition
Section titled “Definition”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.
Parameters
Section titled “Parameters”| 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(). |
Returns
Section titled “Returns”Return 0 to continue AUTOSET sequence, return non-zero value to cancel AUTOSET sequence.
Related types and constants
Section titled “Related types and constants”Related functions
Section titled “Related functions”Functions using this type
Section titled “Functions using this type”Source: BMAPI 1.14.0.42 released Doxygen documentation. The headers and help files bundled with an installed SDK define its version-specific contract.