USART_Configure
Default mainpageat91libperipheralsusartUSART_Configure
Description Source Call Graph
USART_Configure
Configures an USART peripheral with the specified parameters.
 
Syntax / parameters
void USART_Configure (AT91S_USART *usart, unsigned int mode, unsigned int baudrate, unsigned int masterClock)

Name Type Default Description
usart AT91S_USART *
  Pointer to the USART peripheral to configure.
mode unsigned int
  Desired value for the USART mode register (see the datasheet).
baudrate unsigned int
  Baudrate at which the USART should operate (in Hz).
masterClock unsigned int
  Frequency of the system master clock (in Hz).
Description
Configures an USART peripheral with the specified parameters.

 
Source
The documentation for this Member was generated from the following files:
  • usart.c