Parameters for the CAN driver implementation. More...
Parameters for the CAN driver implementation.
Definition in file mcp2515_params.h.
Go to the source code of this file.
Variables | |
static const candev_mcp2515_conf_t | candev_mcp2515_conf [] |
Set default configuration. More... | |
static const candev_params_t | candev_mcp2515_params [] |
set candev parameters More... | |
Set default configuration parameters for the MCP2515 | |
#define | MCP2515_PARAM_SPI SPI_DEV(0) |
#define | MCP2515_PARAM_SPI_MODE SPI_MODE_0 |
#define | MCP2515_PARAM_SPI_CLK SPI_CLK_10MHZ |
#define | MCP2515_PARAM_CS GPIO_PIN(1, 9) |
#define | MCP2515_PARAM_RST GPIO_UNDEF |
#define | MCP2515_PARAM_INT GPIO_PIN(1, 8) |
#define | MCP2515_PARAM_CLK (8000000ul) |
External clock frequency. | |
#define | MCP2515_DEFAULT_CONFIG |
#define MCP2515_DEFAULT_CONFIG |
Definition at line 65 of file mcp2515_params.h.
|
static |
Set default configuration.
Definition at line 80 of file mcp2515_params.h.
|
static |
set candev parameters
Definition at line 87 of file mcp2515_params.h.