ST STM32F2 User Manual page 688

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

HAL USART Generic Driver
__HAL_USART_DISABLE_IT
__HAL_USART_GET_IT_SOURCE
__HAL_USART_ONE_BIT_SAMPLE_ENABLE
688/1371
DocID028236 Rev 2
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) This
parameter can be: ENABLE or
DISABLE.
Return value:
None
Description:
Checks whether the specified
USART interrupt has occurred or
not.
Parameters:
__HANDLE__: specifies the
USART Handle. This parameter
can be USARTx where x: 1, 2, 3 or
6 to select the USART peripheral.
__IT__: specifies the USART
interrupt source to check. This
parameter can be one of the
following values:
USART_IT_TXE: Transmit
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_ERR: Error
interrupt
USART_IT_PE: Parity Error
interrupt
Return value:
The: new state of __IT__ (TRUE or
FALSE).
Description:
Macro to enable the USART's one
bit sample method.
Parameters:
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Table of Contents

Save PDF