16 lines
191 B
C
16 lines
191 B
C
|
|
||
|
#ifndef SPI_H_
|
||
|
#define SPI_H_
|
||
|
|
||
|
#include <stdint.h>
|
||
|
#include <avr/io.h>
|
||
|
|
||
|
|
||
|
int8_t spi_slave_init();
|
||
|
int8_t spi_prepare_to_send(void *data);
|
||
|
int8_t spi_receive(void *data);
|
||
|
|
||
|
|
||
|
#endif // SPI_H_
|
||
|
|