Go to the documentation of this file.
23 #ifndef CANDEV_LINUX_H
24 #define CANDEV_LINUX_H
30 #if defined(__linux__) || defined(DOXYGEN)
40 #define CAN_MAX_SIZE_INTERFACE_NAME (5)
51 #define HAVE_CAN_CONF_T
53 #ifndef CANDEV_LINUX_MAX_FILTERS_RX
57 #define CANDEV_LINUX_MAX_FILTERS_RX (16)
60 #ifndef CANDEV_LINUX_DEFAULT_BITRATE
64 #define CANDEV_LINUX_DEFAULT_BITRATE (500000)
67 #ifndef CANDEV_LINUX_DEFAULT_SPT
71 #define CANDEV_LINUX_DEFAULT_SPT (875)
Structure to hold driver state.
Linux candev configuration.
#define CAN_MAX_SIZE_INTERFACE_NAME
Maximum size of an interface name.
#define CAN_DLL_NUMOF
Maximum number of interfaces which can be registered on DLL.
Controller Area Network filter.
#define CANDEV_LINUX_MAX_FILTERS_RX
Max number of rx filters which can be set.
ESP CAN device configuration.
Definitions for low-level CAN driver interface.
Mutex for thread synchronization.
struct candev_linux can_t
The candev_linux struct.
struct candev_conf can_conf_t
Linux candev configuration.
struct can_filter filters[CANDEV_LINUX_MAX_FILTERS_RX]
filter list
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