ESP32 CAN controller driver (esp_can) default parameters. More...

Detailed Description

ESP32 CAN controller driver (esp_can) default parameters.

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file can_params.h.

#include "can_esp.h"
#include "can/device.h"
#include "periph/can.h"
+ Include dependency graph for can_params.h:

Go to the source code of this file.

#define CAN_TX   GPIO5
 Default CAN tranveiver TX pin if not defined in board configuration.
 
#define CAN_RX   GPIO35
 Default CAN transceiver RX pin if not defined in board configuration.
 
#define CAN_BITRATE   (500000)
 Default CAN Bitrate.
 
static const candev_params_t candev_params []
 Default ESP CAN devices parameters. More...
 
static const can_conf_t candev_conf []
 Default ESP CAN devices config. More...
 

Variable Documentation

◆ candev_conf

const can_conf_t candev_conf[]
static
Initial value:
= {
{
.bitrate = CAN_BITRATE,
.tx_pin = CAN_TX,
.rx_pin = CAN_RX,
},
}

Default ESP CAN devices config.

Definition at line 54 of file can_params.h.

◆ candev_params

Initial value:
= {
{
.name = "esp-can",
},
}

Default ESP CAN devices parameters.

Definition at line 47 of file can_params.h.

CAN_TX
#define CAN_TX
Default CAN tranveiver TX pin if not defined in board configuration.
Definition: can_params.h:33
CAN_RX
#define CAN_RX
Default CAN transceiver RX pin if not defined in board configuration.
Definition: can_params.h:38
CAN_BITRATE
#define CAN_BITRATE
Default CAN Bitrate.
Definition: can_params.h:43