SPI interface. More...
#include <xdc/std.h>
Go to the source code of this file.
Macros | |
#define | SPI_BUFSIZE 128 |
Size of the SPI buffer. | |
Functions | |
void | spi_init () |
SPI initialization. More... | |
UInt16 | spi_proccess () |
SPI proccess. More... | |
UInt8 | spi_reqBegin (UInt8 len, UInt8 cmd0, UInt8 cmd1) |
Request begin. More... | |
UInt8 | spi_reqData (UInt8 len, void *pBuf) |
Request data. More... | |
void | spi_reqEnd (UInt8 forwardToSerial) |
Request end. More... | |
UInt8 | spi_busy () |
SPI busy. More... | |
void | SPI_SRDYISR () |
ISR SRDY. More... | |
void | SPI_USCIB0RX_ISR () |
USCIB0 RX. More... | |
Variables | |
char | spi_buf [SPI_BUFSIZE] |
SPI buffer, used to send and receive data. | |
SPI interface.
Definition in file spi.h.