EasyManua.ls Logo

ST STM32F2

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 IRDA Generic Driver
DocID028236 Rev 2
341/1371
__HANDLE__: specifies the USART
Handle. This parameter can be
USARTx where x: 1, 2, 3, 4, 5, 6, 7 or
8 to select the USART or UART
peripheral.
__FLAG__: specifies the flag to
check. This parameter can be one of
the following values:
IRDA_FLAG_TXE: Transmit data
register empty flag
IRDA_FLAG_TC: Transmission
Complete flag
IRDA_FLAG_RXNE: Receive
data register not empty flag
IRDA_FLAG_IDLE: Idle Line
detection flag
IRDA_FLAG_ORE: OverRun
Error flag
IRDA_FLAG_NE: Noise Error
flag
IRDA_FLAG_FE: Framing Error
flag
IRDA_FLAG_PE: Parity Error
flag
Return value:
The: new state of __FLAG__ (TRUE
or FALSE).
__HAL_IRDA_CLEAR_FLAG
Description:
Clears the specified IRDA pending
flag.
Parameters:
__HANDLE__: specifies the USART
Handle. This parameter can be
USARTx where x: 1, 2, 3, 4, 5, 6, 7 or
8 to select the USART or UART
peripheral.
__FLAG__: specifies the flag to
check. This parameter can be any
combination of the following values:
IRDA_FLAG_TC: Transmission
Complete flag.
IRDA_FLAG_RXNE: Receive
data register not empty flag.
Return value:
None
Notes:
PE (Parity error), FE (Framing error),
NE (Noise error), ORE (OverRun
error) and IDLE (Idle line detected)

Table of Contents

Related product manuals