USART_Read
Default mainpageat91libperipheralsusartUSART_Read
Description Source Call Graph
USART_Read
Reads and return a packet of data on the specified USART peripheral.
 
Syntax / parameters
unsigned short USART_Read (AT91S_USART *usart, volatile unsigned int timeOut)

Name Type Default Description
usart AT91S_USART *
  Pointer to an USART peripheral.
timeOut volatile unsigned int
  Time out value (0 -> no timeout).
 
Return value unsigned short
   
Description
Reads and return a packet of data on the specified USART peripheral.
This function operates asynchronously, so it waits until some data has been received.
 
Source
The documentation for this Member was generated from the following files:
  • usart.c