Skip to content

BM_LinErrorTypeDef enumeration reference

BMAPI 1.14.0.42 · bm_usb_def.h

typedef enum
{
BM_LIN_NO_ERROR = 0x00,
BM_LIN_BIT_ERROR = 0x01,
BM_LIN_CHECKSUM_ERROR = 0x02,
BM_LIN_PARITY_ERROR = 0x04,
BM_LIN_BREAK_ERROR = 0x08,
BM_LIN_BUS_IDLE_TIMEOUT = 0x10,
BM_LIN_TRANSMIT_TIMEOUT = 0x20,
} BM_LinErrorTypeDef;

LIN error code, used in BM_LinStatusInfoTypedef.

Name Value expression Description
BM_LIN_NO_ERROR 0x00 No error detected
BM_LIN_BIT_ERROR 0x01 Bit error
BM_LIN_CHECKSUM_ERROR 0x02 Checksum error
BM_LIN_PARITY_ERROR 0x04 Parity error
BM_LIN_BREAK_ERROR 0x08 Break error
BM_LIN_BUS_IDLE_TIMEOUT 0x10 Bus idle timeout
BM_LIN_TRANSMIT_TIMEOUT 0x20 Transmit timeout

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