Driver for the Microchip MCP2515 can controller.
More...
Driver for the Microchip MCP2515 can controller.
|
| file | candev_mcp2515.h |
| | Definition of the implementation of the CAN controller driver.
|
| |
| file | mcp2515_params.h |
| | Parameters for the CAN driver implementation.
|
| |
| file | mcp2515.h |
| | Driver for the Microchip MCP2515 can controller.
|
| |
| file | mcp2515_defines.h |
| | Driver for the Microchip MCP2515 can controller.
|
| |
| file | mcp2515_spi.h |
| | Driver for the Microchip MCP2515 can controller.
|
| |
|
for RX buffers: the MCP2515 managed 6 acceptance filters in 2 mailboxes:
|
|
#define | MCP2515_RX_MAILBOXES 2 |
| |
|
#define | MCP2515_FILTERS_MB0 2 |
| |
|
#define | MCP2515_FILTERS_MB1 4 |
| |
|
#define | MCP2515_FILTERS (MCP2515_FILTERS_MB0 + MCP2515_FILTERS_MB1) |
| |
◆ candev_mcp2515_init()
Initialize a mcp2515 device by assigning a timing and an SPI configuration conf.
- Parameters
-
| [out] | dev | mcp2515 device descriptor |
| [in] | conf | mcp2515 configuration |