SPI_WriteBuffer
Default mainpageat91libperipheralsspiSPI_WriteBuffer
Description Source Call Graph
SPI_WriteBuffer
Sends the contents of buffer through a SPI peripheral, using the PDC to take care of the transfer.
 
Syntax / parameters
unsigned char SPI_WriteBuffer (AT91S_SPI *spi, void *buffer, unsigned int length)

Name Type Default Description
spi AT91S_SPI *
  Pointer to an AT91S_SPI instance.
buffer void *
  Data buffer to send.
length unsigned int
  Length of the data buffer.
 
Return value unsigned char
   
Description
Sends the contents of buffer through a SPI peripheral, using the PDC to take care of the transfer.

 
Source
The documentation for this Member was generated from the following files:
  • spi.c