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 #539 background imageLoading...
Page #539 background image
UM1581
Universal synchronous asynchronous receiver
transmitter (USART)
DocID023800 Rev 1
539/584
b. USART_IT_CM: to indicate the status of Character match interrupt.
c. USART_IT_EOB: to indicate the status of End of block interrupt.
d. USART_IT_RTO: to indicate the status of Receive time out interrupt.
e. USART_IT_CTS: to indicate the status of CTS change interrupt.
f. USART_IT_LBD: to indicate the status of LIN Break detection interrupt.
g. USART_IT_TC: to indicate the status of Transmission complete interrupt.
h. USART_IT_IDLE: to indicate the status of IDLE line detected interrupt.
i. USART_IT_ORE: to indicate the status of OverRun Error interrupt.
j. USART_IT_NE: to indicate the status of Noise Error interrupt.
k. USART_IT_FE: to indicate the status of Framing Error interrupt.
l. USART_IT_PE: to indicate the status of Parity Error interrupt.
ï‚· Interrupt Source:
a. USART_IT_WU: specifies the interrupt source for Wake up interrupt.
b. USART_IT_CM: specifies the interrupt source for Character match interrupt.
c. USART_IT_EOB: specifies the interrupt source for End of block interrupt.
d. USART_IT_RTO: specifies the interrupt source for Receive time-out interrupt.
e. USART_IT_CTS: specifies the interrupt source for CTS change interrupt.
f. USART_IT_LBD: specifies the interrupt source for LIN Break detection interrupt.
g. USART_IT_TXE: specifies the interrupt source for Tansmit Data Register empty
interrupt.
h. USART_IT_TC: specifies the interrupt source for Transmission complete
interrupt.
i. USART_IT_RXNE: specifies the interrupt source for Receive Data register not
empty interrupt.
j. USART_IT_IDLE: specifies the interrupt source for Idle line detection interrupt.
k. USART_IT_PE: specifies the interrupt source for Parity Error interrupt.
l. USART_IT_ERR: specifies the interrupt source for Error interrupt (Frame error,
noise error, overrun error) Some parameters are coded in order to use them as
interrupt source or as pending bits.
In this Mode it is advised to use the following functions:
ï‚· void USART_ITConfig(USART_TypeDef* USARTx, uint16_t USART_IT,
FunctionalState NewState).
ï‚· ITStatus USART_GetITStatus(USART_TypeDef* USARTx, uint16_t USART_IT).
ï‚· void USART_ClearITPendingBit(USART_TypeDef* USARTx, uint16_t USART_IT).
ï‚· USART_ITConfig()
ï‚· USART_RequestCmd()
ï‚· USART_OverrunDetectionConfig()
ï‚· USART_GetFlagStatus()
ï‚· USART_ClearFlag()
ï‚· USART_GetITStatus()
ï‚· USART_ClearITPendingBit()
23.2.6 STOP Mode functions
This subsection provides a set of functions allowing to manage WakeUp from STOP
mode.
The USART is able to WakeUp from Stop Mode if USART clock is set to HSI or LSI.
The WakeUp source is configured by calling USART_StopModeWakeUpSourceConfig()
function.

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