Macros

Definitions for hw/libcan.h

#include <hw/libcan.h>
CANDEV_CFLAG_CANFD

Indicates CAN FD (31st bit of the MID is set to 1).

CANDEV_CLAG_CAN

Indicates standard CAN (31st bit of the MID is set to 0).

Definitions for sys/can_dcmd.h

#include <sys/can_dcmd.h>
CAN_MSG_DATA_MAX_CANFD

Maximum number of data bytes in a CAN FD message, as defined by the CAN spec (64 bytes).

CAN_MSG_DATA_MAX_CAN

Maximum number of data bytes in a standard CAN message, as defined by the CAN spec (8 bytes).

CAN_MSG_DATA_MAX

Number of data bytes in the CAN_MSG structure.

CAN_MSG_MID_UNKNOWN

Unknown message identifier.

Page updated: