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
559/584
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_TC : Transmission complete interrupt.
USART_IT_IDLE : IDLE line detected 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
None.
Notes
RXNE pending bit is cleared by a read to the USART_RDR
register (USART_ReceiveData()) or by writing 1 to the
RXFRQ in the register USART_RQR
(USART_RequestCmd()).TC pending bit can be also cleared
by software sequence: a read operation to USART_SR
register (USART_GetITStatus()) followed by a write operation
to USART_TDR register (USART_SendData()).TXE pending
bit is cleared by a write to the USART_TDR register
(USART_SendData()) or by writing 1 to the TXFRQ in the
register USART_RQR (USART_RequestCmd()).
23.2.18 STOP mode functions
23.2.18.1 USART_STOPModeCmd
Function Name
void USART_STOPModeCmd ( USART_TypeDef * USARTx,
FunctionalState NewState)
Function Description
Enables or disables the specified USART peripheral in STOP
Mode.
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 peripheral state in stop
mode. This parameter can be: ENABLE or DISABLE.
Return values
None.
Notes
This function has to be called when USART clock is set to
HSI or LSE.

Table of Contents

Related product manuals