Instructions

342Libraries
© 2013 Conrad Electronic
Return Parameter
received byte from the SPI interface
5.23.1.4 SPI_ReadBuf
SPI Functions
Syntax
void SPI_ReadBuf(byte buf[], word length);
Sub SPI_ReadBuf(ByRef buf As Byte, length As Word)
Description
A number of bytes are read from the SPI interface into an array.
Parameter
buf pointer to byte array
length number of bytes to read
5.23.1.5 SPI_Write
SPI Functions
Syntax
void SPI_Write(byte data);
Sub SPI_Write(data As Byte)
Description
One byte is send to the serial interface.
Parameter
data output byte value
5.23.1.6 SPI_WriteBuf
SPI Functions
Syntax
void SPI_WriteBuf(byte buf[], word length);