SPI_Read
Default mainpageat91libperipheralsspiSPI_Read
Description Source Call Graph
SPI_Read
Reads and returns the last word of data received by a SPI peripheral.
 
Syntax / parameters
unsigned short SPI_Read (AT91S_SPI *spi)

Name Type Default Description
spi AT91S_SPI *
  Pointer to an AT91S_SPI instance.
 
Return value unsigned short
   
Description
Reads and returns the last word of data received by a SPI peripheral.
This method must be called after a successful SPI_Write call.
 
Source
The documentation for this Member was generated from the following files:
  • spi.c