Sensorian
1.0
C API Reference Guide Library
|
SPI library. More...
Go to the source code of this file.
Functions | |
void | SPI_Initialize (void) |
Initializes the SPI peripheral. More... | |
unsigned char | SPI_Write (unsigned char data) |
Writes a byte of data to the SPI bus. More... | |
unsigned char | SPI_Read (void) |
Reads a byte of data from the SPI bus. More... | |
void | SPI_Write_Array (char *buff, unsigned int length) |
Writes an array of bytes to the SPI bus. More... | |
void | SPI_Read_Array (char *sArray, char *rArray, char length) |
Reads an array of data from the SPI bus. More... | |
void | SPI_Close (void) |
Close SPI bus, should not be called if another SPI device is being used. More... | |
void SPI_Close | ( | void | ) |
void SPI_Initialize | ( | void | ) |
unsigned char SPI_Read | ( | void | ) |
void SPI_Read_Array | ( | char * | sArray, |
char * | rArray, | ||
char | length | ||
) |
unsigned char SPI_Write | ( | unsigned char | data | ) |