27#if defined(__linux__)  || defined(DOXYGEN) 
   38#  define CAN_MAX_SIZE_INTERFACE_NAME (5) 
   49#  define HAVE_CAN_CONF_T 
   51#  if !defined(CANDEV_LINUX_MAX_FILTERS_RX) || defined(DOXYGEN) 
   53#    define CANDEV_LINUX_MAX_FILTERS_RX  (16) 
   56#  if !defined(CANDEV_LINUX_DEFAULT_BITRATE) || defined(DOXYGEN) 
   58#    define CANDEV_LINUX_DEFAULT_BITRATE (500000) 
   61#  if !defined(CANDEV_LINUX_DEFAULT_SPT) || defined(DOXYGEN) 
   63#    define CANDEV_LINUX_DEFAULT_SPT (875) 
Definitions for low-level CAN driver interface.
 
struct can can_t
Low level device structure for ESP32 CAN (extension of candev_t)
 
#define CAN_MAX_SIZE_INTERFACE_NAME
Maximum size of an interface name.
 
struct candev_conf can_conf_t
Linux candev configuration.
 
#define CANDEV_LINUX_MAX_FILTERS_RX
Max number of rx filters which can be set.
 
struct candev candev_t
Forward declaration for candev struct.
 
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
 
Definitions of CAN device interface.
 
#define CAN_DLL_NUMOF
Maximum number of interfaces which can be registered on DLL.