HAL
__HAL_I2S_ENABLE_IT is only used within HAL.
 
Symbols
loading...
Files
loading...

__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

References

LocationText
stm32f4xx_hal_i2s.h:364
#define __HAL_I2S_ENABLE_IT(__HANDLE__, __INTERRUPT__) (SET_BIT((__HANDLE__)->Instance->CR2,(__INTERRUPT__)))
stm32f4xx_hal_i2s.c:1096
__HAL_I2S_ENABLE_IT(hi2s, (I2S_IT_TXE | I2S_IT_ERR));
stm32f4xx_hal_i2s.c:1162
__HAL_I2S_ENABLE_IT(hi2s, (I2S_IT_RXNE | I2S_IT_ERR));
stm32f4xx_hal_i2s_ex.c:482
__HAL_I2S_ENABLE_IT(hi2s, (I2S_IT_TXE | I2S_IT_ERR));
stm32f4xx_hal_i2s_ex.c:500
__HAL_I2S_ENABLE_IT(hi2s, (I2S_IT_RXNE | I2S_IT_ERR));