![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
Macros | |
#define | __HAL_I2S_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_I2S_STATE_RESET) |
Reset I2S handle state. More... | |
#define | __HAL_I2S_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->I2SCFGR |= SPI_I2SCFGR_I2SE) |
Enable or disable the specified SPI peripheral (in I2S mode). More... | |
#define | __HAL_I2S_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->I2SCFGR &= ~SPI_I2SCFGR_I2SE) |
#define | __HAL_I2S_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CR2 |= (__INTERRUPT__)) |
Enable or disable the specified I2S interrupts. More... | |
#define | __HAL_I2S_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CR2 &= ~(__INTERRUPT__)) |
#define | __HAL_I2S_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((__HANDLE__)->Instance->CR2 & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Checks if the specified I2S interrupt source is enabled or disabled. More... | |
#define | __HAL_I2S_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Checks whether the specified I2S flag is set or not. More... | |
#define | __HAL_I2S_CLEAR_OVRFLAG(__HANDLE__) |
Clears the I2S OVR pending flag. More... | |
#define | __HAL_I2S_CLEAR_UDRFLAG(__HANDLE__) |
Clears the I2S UDR pending flag. More... | |
#define __HAL_I2S_CLEAR_OVRFLAG | ( | __HANDLE__ | ) |
Clears the I2S OVR pending flag.
<strong>HANDLE</strong> | specifies the I2S Handle. |
None |
Definition at line 335 of file stm32f7xx_hal_i2s.h.
#define __HAL_I2S_CLEAR_UDRFLAG | ( | __HANDLE__ | ) |
Clears the I2S UDR pending flag.
<strong>HANDLE</strong> | specifies the I2S Handle. |
None |
Definition at line 347 of file stm32f7xx_hal_i2s.h.
#define __HAL_I2S_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->I2SCFGR &= ~SPI_I2SCFGR_I2SE) |
Definition at line 290 of file stm32f7xx_hal_i2s.h.
#define __HAL_I2S_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->CR2 &= ~(__INTERRUPT__)) |
Definition at line 302 of file stm32f7xx_hal_i2s.h.
#define __HAL_I2S_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->I2SCFGR |= SPI_I2SCFGR_I2SE) |
Enable or disable the specified SPI peripheral (in I2S mode).
<strong>HANDLE</strong> | specifies the I2S Handle. |
None |
Definition at line 289 of file stm32f7xx_hal_i2s.h.
#define __HAL_I2S_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->CR2 |= (__INTERRUPT__)) |
Enable or disable the specified I2S interrupts.
<strong>HANDLE</strong> | specifies the I2S Handle. |
<strong>INTERRUPT</strong> | specifies the interrupt source to enable or disable. This parameter can be one of the following values:
|
None |
Definition at line 301 of file stm32f7xx_hal_i2s.h.
#define __HAL_I2S_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Checks whether the specified I2S flag is set or not.
<strong>HANDLE</strong> | specifies the I2S Handle. |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of FLAG (TRUE or FALSE). |
Definition at line 329 of file stm32f7xx_hal_i2s.h.
#define __HAL_I2S_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((((__HANDLE__)->Instance->CR2 & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Checks if the specified I2S interrupt source is enabled or disabled.
<strong>HANDLE</strong> | specifies the I2S Handle. This parameter can be I2S where x: 1, 2, or 3 to select the I2S peripheral. |
<strong>INTERRUPT</strong> | specifies the I2S interrupt source to check. This parameter can be one of the following values:
|
The | new state of IT (TRUE or FALSE). |
Definition at line 314 of file stm32f7xx_hal_i2s.h.
#define __HAL_I2S_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_I2S_STATE_RESET) |
Reset I2S handle state.
<strong>HANDLE</strong> | specifies the I2S handle. |
None |
Definition at line 283 of file stm32f7xx_hal_i2s.h.