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.
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_PIN(0, 0) |
#define | MCP2515_PARAM_INT GPIO_PIN(1, 8) |
#define | MCP2515_PARAM_CLK (8000000ul) |
External clock frequency. | |
#define | MCP2515_DEFAULT_CONFIG |
static const candev_mcp2515_conf_t | candev_mcp2515_conf [] |
@ More... | |
static const candev_params_t | candev_mcp2515_params [] |
set candev parameters More... | |
#define MCP2515_DEFAULT_CONFIG |
Definition at line 66 of file mcp2515_params.h.
|
static |
@
Set default configuration
Definition at line 81 of file mcp2515_params.h.
|
static |
set candev parameters
Definition at line 88 of file mcp2515_params.h.