Description:
Checks whether the specified IRDA
interrupt has occurred or not.
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.
__IT__: specifies the IRDA interrupt
source to check. This parameter can
be one of the following values:
IRDA_IT_TXE: Transmit Data
Register empty interrupt
IRDA_IT_TC: Transmission
complete interrupt
IRDA_IT_RXNE: Receive Data
register not empty interrupt
IRDA_IT_IDLE: Idle line
detection interrupt
USART_IT_ERR: Error interrupt
IRDA_IT_PE: Parity Error
interrupt
Return value:
The: new state of __IT__ (TRUE or
FALSE).