PicoWAN SDK Documentation
spi.h
Go to the documentation of this file.
1 
31 #ifndef _SPI_H_
32 #define _SPI_H_
33 
34 #include <stdint.h>
35 
36 
42 void spi_init(void);
43 
53 uint8_t spi_rw(uint8_t data);
54 
55 #endif /* _SPI_H_ */
uint8_t spi_rw(uint8_t data)
Reads and/or writes from and/or to the SPI1 port.
Definition: spi.c:90
void spi_init(void)
Initializes the SPI driver.
Definition: spi.c:60