#include "can_private.h"
Go to the source code of this file.
Macros | |
#define | SPI_PRESCALER 8 |
Functions | |
__attribute__ ((gnu_inline)) inline void spi_start(uint8_t data) | |
void | mcp2515_spi_init (void) |
Initialize SPI interface. More... | |
uint8_t | spi_putc (uint8_t data) |
Write/read one byte of the SPI interface. More... | |
void mcp2515_spi_init | ( | void | ) |
Initialize SPI interface.
uint8_t spi_putc | ( | uint8_t | data | ) |
Write/read one byte of the SPI interface.
data | Data to be written |