22#ifndef LELY_CAN_ERR_H_
23#define LELY_CAN_ERR_H_
44 CAN_ERROR_BIT = 1u << 0,
46 CAN_ERROR_STUFF = 1u << 1,
48 CAN_ERROR_CRC = 1u << 2,
50 CAN_ERROR_FORM = 1u << 3,
52 CAN_ERROR_ACK = 1u << 4,
54 CAN_ERROR_OTHER = 1u << 5
can_error
The error flags of a CAN bus, which are not mutually exclusive.
@ CAN_STATE_BUSOFF
The bus off state (TX/RX error count >= 256).
@ CAN_STATE_PASSIVE
The error passive state (TX/RX error count < 256).
@ CAN_STATE_ACTIVE
The error active state (TX/RX error count < 128).
This header file is part of the Lely libraries; it contains the compiler feature definitions.