EasyManua.ls Logo

ST STM32F2 - Page 665

ST STM32F2
1371 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...
UM1940
HAL UART Generic Driver
DocID028236 Rev 2
665/1371
peripheral.
Return value:
None
UART_IT_MASK
Description:
Enable the specified UART interrupt.
Parameters:
__HANDLE__: specifies the UART
Handle. This parameter can be
UARTx where x: 1, 2, 3, 4, 5, 6, 7 or
8 to select the USART or UART
peripheral.
__INTERRUPT__: specifies the
UART interrupt source to enable.
This parameter can be one of the
following values:
UART_IT_CTS: CTS change
interrupt
UART_IT_LBD: LIN Break
detection interrupt
UART_IT_TXE: Transmit Data
Register empty interrupt
UART_IT_TC: Transmission
complete interrupt
UART_IT_RXNE: Receive Data
register not empty interrupt
UART_IT_IDLE: Idle line
detection interrupt
UART_IT_PE: Parity Error
interrupt
UART_IT_ERR: Error
interrupt(Frame error, noise
error, overrun error)
Return value:
None
__HAL_UART_ENABLE_IT
__HAL_UART_DISABLE_IT
Description:
Disable the specified UART
interrupt.
Parameters:
__HANDLE__: specifies the UART
Handle. This parameter can be
UARTx where x: 1, 2, 3, 4, 5, 6, 7 or
8 to select the USART or UART
peripheral.
__INTERRUPT__: specifies the
UART interrupt source to disable.
This parameter can be one of the
following values:

Table of Contents

Related product manuals