avr-firmwares/drivers/spi.h

5 lines
87 B
C

#include <stdint.h>
uint8_t spi_init(uint8_t spcr);
uint8_t spi_transfer(uint8_t in);