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. | |
static const candev_params_t | candev_mcp2515_params [] |
set candev parameters | |
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.
#define MCP2515_PARAM_CLK (8000000ul) |
External clock frequency.
Definition at line 61 of file mcp2515_params.h.
#define MCP2515_PARAM_CS GPIO_PIN(1, 9) |
Definition at line 49 of file mcp2515_params.h.
#define MCP2515_PARAM_INT GPIO_PIN(1, 8) |
Definition at line 57 of file mcp2515_params.h.
#define MCP2515_PARAM_RST GPIO_UNDEF |
Definition at line 53 of file mcp2515_params.h.
#define MCP2515_PARAM_SPI SPI_DEV(0) |
Definition at line 37 of file mcp2515_params.h.
#define MCP2515_PARAM_SPI_CLK SPI_CLK_10MHZ |
Definition at line 45 of file mcp2515_params.h.
#define MCP2515_PARAM_SPI_MODE SPI_MODE_0 |
Definition at line 41 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.