USART_Write
Default mainpageat91libperipheralsusartUSART_Write
Description Source Call Graph
USART_Write
Sends one packet of data through the specified USART peripheral.
 
Syntax / parameters
void USART_Write (AT91S_USART *usart, unsigned short data, volatile unsigned int timeOut)

Name Type Default Description
usart AT91S_USART *
  Pointer to an USART peripheral.
data unsigned short
  Data to send including 9nth bit and sync field if necessary (in the same format as the US_THR register in the datasheet).
timeOut volatile unsigned int
  Time out value (0 = no timeout).
Description
Sends one packet of data through the specified USART peripheral.
This function operates synchronously, so it only returns when the data has been actually sent.
 
Source
The documentation for this Member was generated from the following files:
  • usart.c