Skip to content

BM_TerminalResistorTypeDef enumeration reference

BMAPI 1.14.0.42 · bm_usb_def.h

typedef enum
{
BM_TRESISTOR_AUTO = 0,
BM_TRESISTOR_60 = 60,
BM_TRESISTOR_120 = 120,
BM_TRESISTOR_PULLUP_1K = 1000,
BM_TRESISTOR_DISABLED = 0xFFFFU,
} BM_TerminalResistorTypeDef;

Terminal resistor values, used by BM_SetTerminalResistor() to change the terminal/pull-up resistor of CAN/LIN device.

Name Value expression Description
BM_TRESISTOR_AUTO 0 Reserved, currently unsupported
BM_TRESISTOR_60 60 Currently unsupported
BM_TRESISTOR_120 120 120Ohm
BM_TRESISTOR_PULLUP_1K 1000 1000Ohm pull-up resistor for LIN bus
BM_TRESISTOR_DISABLED 0xFFFFU Disable terminal resistor

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