USART_ReadBuffer
Default mainpageat91libperipheralsusartUSART_ReadBuffer
Description Source Call Graph
USART_ReadBuffer
Reads data from an USART peripheral, filling the provided buffer until it becomes full.
 
Syntax / parameters
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
   
Description
Reads data from an USART peripheral, filling the provided buffer until it becomes full.
This function returns immediately with 1 if the buffer has been queued for transmission; otherwise 0.
 
Source
The documentation for this Member was generated from the following files:
  • usart.c