unsigned char USART_ReadBuffer (AT91S_USART *usart, void *buffer, unsigned int size) |
Name | Type | Default | Description |
usart | AT91S_USART * |
Pointer to an USART peripheral. |
|
buffer | void * |
Pointer to the buffer where the received data will be stored. |
|
size | unsigned int |
Size of the data buffer (in bytes). |
|
Return value | unsigned char |