EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM1581
Universal synchronous asynchronous receiver
transmitter (USART)
DocID023800 Rev 1
561/584
23.2.19.2 USART_ReceiveData
Function Name
uint16_t USART_ReceiveData ( USART_TypeDef * USARTx)
Function Description
Returns the most recent received data by the USARTx peripheral.
Parameters
USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4 or UART5.
Return values
The received data.
Notes
None.
23.2.20 AutoBaudRate functions
23.2.20.1 USART_AutoBaudRateCmd
Function Name
void USART_AutoBaudRateCmd ( USART_TypeDef *
USARTx, FunctionalState NewState)
Function Description
Enables or disables the Auto Baud Rate.
Parameters
USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4 or UART5.
NewState : new state of the USARTx auto baud rate. This
parameter can be: ENABLE or DISABLE.
Return values
None.
Notes
None.
23.2.20.2 USART_AutoBaudRateConfig
Function Name
void USART_AutoBaudRateConfig ( USART_TypeDef *
USARTx, uint32_t USART_AutoBaudRate)
Function Description
Selects the USART auto baud rate method.
Parameters
USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or

Table of Contents

Related product manuals