Universal synchronous asynchronous receiver
transmitter (USART)
ï€ 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.
ï‚· 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
void USART_STOPModeCmd ( USART_TypeDef * USARTx,
FunctionalState NewState)
Enables or disables the specified USART peripheral in STOP
Mode.
ï‚· 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.
ï‚· This function has to be called when USART clock is set to
HSI or LSE.