__HAL_I2S_ENABLE_IT macro
Enable the specified I2S interrupts.
Syntax
#define __HAL_I2S_ENABLE_IT(__HANDLE__, __INTERRUPT__) (SET_BIT((__HANDLE__)->Instance->CR2,(__INTERRUPT__))) Arguments
__HANDLE__
specifies the I2S Handle.
__INTERRUPT__
specifies the interrupt source to enable or disable. 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
None