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 #558 background imageLoading...
Page #558 background image
Universal synchronous asynchronous receiver
transmitter (USART)
UM1581
558/584
DocID023800 Rev 1
23.2.17.6 USART_GetITStatus
Function Name
ITStatus USART_GetITStatus ( USART_TypeDef * USARTx,
uint32_t USART_IT)
Function Description
Checks whether the specified USART interrupt has occurred 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_IT : specifies the USART interrupt source to check.
This parameter can be one of the following values:
 USART_IT_WU : Wake up interrupt.
 USART_IT_CM : Character match interrupt.
 USART_IT_EOB : End of block interrupt.
 USART_IT_RTO : Receive time out interrupt.
 USART_IT_CTS : CTS change interrupt.
 USART_IT_LBD : LIN Break detection interrupt.
 USART_IT_TXE : Tansmit Data Register empty
interrupt.
 USART_IT_TC : Transmission complete interrupt.
 USART_IT_RXNE : Receive Data register not empty
interrupt.
 USART_IT_IDLE : Idle line detection interrupt.
 USART_IT_ORE : OverRun Error interrupt.
 USART_IT_NE : Noise Error interrupt.
 USART_IT_FE : Framing Error interrupt.
 USART_IT_PE : Parity Error interrupt.
Return values
ï‚· The new state of USART_IT (SET or RESET).
Notes
ï‚· None.
23.2.17.7 USART_ClearITPendingBit
Function Name
void USART_ClearITPendingBit ( USART_TypeDef * USARTx,
uint32_t USART_IT)
Function Description
Clears the USARTx's interrupt pending bits.
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_IT : specifies the interrupt pending bit to clear. This
parameter can be one of the following values:

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