__HAL_UART_ENABLE_IT macro
Enable the specified UART interrupt.
Arguments
__HANDLE__
specifies the UART Handle. UART Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device).
__INTERRUPT__
specifies the UART interrupt source to enable. This parameter can be one of the following values: @arg UART_IT_CTS: CTS change interrupt @arg UART_IT_LBD: LIN Break detection interrupt @arg UART_IT_TXE: Transmit Data Register empty interrupt @arg UART_IT_TC: Transmission complete interrupt @arg UART_IT_RXNE: Receive Data register not empty interrupt @arg UART_IT_IDLE: Idle line detection interrupt @arg UART_IT_PE: Parity Error interrupt @arg UART_IT_ERR: Error interrupt(Frame error, noise error, overrun error)
Return value
None