22#ifndef LELY_CAN_ERR_H_
23#define LELY_CAN_ERR_H_
can_error
The error flags of a CAN bus, which are not mutually exclusive.
@ CAN_ERROR_FORM
A form error.
@ CAN_ERROR_BIT
A single bit error.
@ CAN_ERROR_STUFF
A bit stuffing error.
@ CAN_ERROR_ACK
An acknowledgment error.
@ CAN_ERROR_CRC
A CRC sequence error.
@ CAN_ERROR_OTHER
One or more other errors.
can_state
The states of a CAN node, depending on the TX/RX error count.
@ CAN_STATE_BUSOFF
The bus off state (TX/RX error count >= 256).
@ CAN_STATE_SLEEPING
The device is in sleep mode.
@ CAN_STATE_PASSIVE
The error passive state (TX/RX error count < 256).
@ CAN_STATE_STOPPED
The device is stopped.
@ 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.