30#if defined(__linux__) || defined(DOXYGEN)
41#define CAN_MAX_SIZE_INTERFACE_NAME (5)
52#define HAVE_CAN_CONF_T
54#ifndef CANDEV_LINUX_MAX_FILTERS_RX
58#define CANDEV_LINUX_MAX_FILTERS_RX (16)
61#ifndef CANDEV_LINUX_DEFAULT_BITRATE
65#define CANDEV_LINUX_DEFAULT_BITRATE (500000)
68#ifndef CANDEV_LINUX_DEFAULT_SPT
72#define CANDEV_LINUX_DEFAULT_SPT (875)
Definitions for low-level CAN driver interface.
#define CAN_MAX_SIZE_INTERFACE_NAME
Maximum size of an interface name.
struct candev_conf can_conf_t
Linux candev configuration.
struct candev_linux can_t
The candev_linux struct.
#define CANDEV_LINUX_MAX_FILTERS_RX
Max number of rx filters which can be set.
Mutex for thread synchronization.
ESP CAN device configuration.
Controller Area Network filter.
Linux candev configuration.
char interface_name[CAN_MAX_SIZE_INTERFACE_NAME+1]
local interface name
const can_conf_t * conf
device configuration
candev_t candev
candev base structure
struct can_filter filters[CANDEV_LINUX_MAX_FILTERS_RX]
filter list
Structure to hold driver state.
Definitions of CAN device interface.
#define CAN_DLL_NUMOF
Maximum number of interfaces which can be registered on DLL.