__HAL_I2S_GET_IT_SOURCE macro
Checks if the specified I2S interrupt source is enabled or disabled.
Syntax
#define __HAL_I2S_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((__HANDLE__)->Instance->CR2\ Arguments
__HANDLE__
specifies the I2S Handle. This parameter can be I2S where x: 1, 2, or 3 to select the I2S peripheral.
__INTERRUPT__
specifies the I2S interrupt source to check. This parameter can be one of the following values: @arg I2S_IT_TXE: Tx buffer empty interrupt enable @arg I2S_IT_RXNE: RX buffer not empty interrupt enable @arg I2S_IT_ERR: Error interrupt enable
Return value
The new state of __IT__ (TRUE or FALSE).