EasyManuals Logo

ST STM32F31xx User Manual

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
Page #556 background imageLoading...
Page #556 background image
Universal synchronous asynchronous receiver
transmitter (USART)
UM1581
556/584
DocID023800 Rev 1
Return values
ï‚· None.
Notes
ï‚· None.
23.2.17.4 USART_GetFlagStatus
Function Name
FlagStatus USART_GetFlagStatus ( USART_TypeDef *
USARTx, uint32_t USART_FLAG)
Function Description
Checks whether the specified USART flag is set or not.
Parameters
ï‚· USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4 or UART5.
ï‚· USART_FLAG : specifies the flag to check. This parameter
can be one of the following values:
 USART_FLAG_REACK : Receive Enable acknowledge
flag.
 USART_FLAG_TEACK : Transmit Enable acknowledge
flag.
 USART_FLAG_WUF : Wake up flag.
 USART_FLAG_RWU : Receive Wake up flag.
 USART_FLAG_SBK : Send Break flag.
 USART_FLAG_CMF : Character match flag.
 USART_FLAG_BUSY : Busy flag.
 USART_FLAG_ABRF : Auto baud rate flag.
 USART_FLAG_ABRE : Auto baud rate error flag.
 USART_FLAG_EOBF : End of block flag.
 USART_FLAG_RTOF : Receive time out flag.
 USART_FLAG_nCTSS : Inverted nCTS input bit status.
 USART_FLAG_CTS : CTS Change flag.
 USART_FLAG_LBD : LIN Break detection flag.
 USART_FLAG_TXE : Transmit data register empty flag.
 USART_FLAG_TC : Transmission Complete flag.
 USART_FLAG_RXNE : Receive data register not
empty flag.
 USART_FLAG_IDLE : Idle Line detection flag.
 USART_FLAG_ORE : OverRun Error flag.
 USART_FLAG_NE : Noise Error flag.
 USART_FLAG_FE : Framing Error flag.
 USART_FLAG_PE : Parity Error flag.
Return values
ï‚· The new state of USART_FLAG (SET or RESET).
Notes
ï‚· None.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals