unsigned char SPI_ReadBuffer (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 store incoming bytes. |
|
length | unsigned int |
Length in bytes of the data buffer. |
|
Return value | unsigned char |