IR Interrupts Clear Flag

group IR_Interrupts_Clear_Flag

Defines

IR_TF_CLR BIT0

Clear TX FIFO interrupt status.

IR_INT_TF_EMPTY_CLR BIT1

Clear TX FIFO empty interrupt status.

IR_INT_TF_LEVEL_CLR BIT2

Clear TX FIFO threshold interrupt status.

IR_INT_TF_OF_CLR BIT3

Clear TX FIFO overflow interrupt status.

IR_TX_INT_ALL_CLR                                             (IR_INT_TF_EMPTY_CLR | \                                             IR_INT_TF_LEVEL_CLR | \                                             IR_INT_TF_OF_CLR)

Check if the input parameter is valid.

IR_INT_RF_FULL_CLR BIT0

Clear RX FIFO full interrupt status.

IR_INT_RF_LEVEL_CLR BIT1

Clear RX FIFO threshold interrupt status.

IR_INT_RX_CNT_OF_CLR BIT2

Clear RX counter overflow interrupt status.

IR_INT_RF_OF_CLR BIT3

Clear RX FIFO overflow interrupt status.

IR_INT_RX_CNT_THR_CLR BIT4

Clear RX counter timeout interrupt status.

IR_INT_RF_ERROR_CLR BIT5

Clear RX FIFO error read interrupt status.

IR_INT_RX_FALLING_EDGE_CLR BIT6

Clear RX falling edge interrupt status.

IR_INT_RX_RISING_EDGE_CLR BIT7

Clear RX rising edge interrupt status.

IR_RF_CLR BIT8

Clear RX FIFO interrupt status.

IR_RX_INT_ALL_CLR                                           (IR_INT_RF_FULL_CLR | IR_INT_RF_LEVEL_CLR | \                                           IR_INT_RX_CNT_OF_CLR | IR_INT_RF_OF_CLR | \                                           IR_INT_RX_CNT_THR_CLR | IR_INT_RF_ERROR_CLR | \                                           IR_INT_RX_RISING_EDGE_CLR|IR_INT_RX_FALLING_EDGE_CLR)

Check if the input parameter is valid.

IS_IR_INT_CLEAR(INT)                                          (((INT) == IR_INT_TF_EMPTY_CLR) || ((INT) == IR_INT_TF_LEVEL_CLR

) || \

((INT) ==

IR_INT_TF_OF_CLR) || ((INT) == IR_INT_RF_FULL_CLR

) || \

((INT) ==

IR_INT_RF_LEVEL_CLR) || ((INT) == IR_INT_RX_CNT_OF_CLR

) || \

((INT) ==

IR_INT_RF_OF_CLR) || ((INT) == IR_INT_RX_CNT_THR_CLR

) || \

((INT) ==

IR_INT_RX_RISING_EDGE_CLR) || ((INT) == IR_INT_RX_FALLING_EDGE_CLR

) || \

((INT) ==

IR_INT_RF_ERROR_CLR))

Check if the input parameter is valid.