ï€ USART_DMAOnError_Enable : DMA receive request
enabled when the USART DMA reception error is
asserted.
ï€ USART_DMAOnError_Disable : DMA receive request
disabled when the USART DMA reception error is
asserted.
void USART_ITConfig ( USART_TypeDef * USARTx, uint32_t
USART_IT, FunctionalState NewState)
ï‚· 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 sources to be
enabled or disabled. 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_PE : Parity Error interrupt.
ï€ USART_IT_ERR : Error interrupt(Frame error, noise
error, overrun error)
ï‚· NewState : new state of the specified USARTx interrupts.
This parameter can be: ENABLE or DISABLE.