macros to handle interrupts and specific configurations More...
Macros | |
#define | __HAL_SAI_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->CLRFR = (__FLAG__)) |
Clear the specified SAI pending flag. More... | |
#define | __HAL_SAI_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->CLRFR = (__FLAG__)) |
Clear the specified SAI pending flag. More... | |
#define | __HAL_SAI_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->CLRFR = (__FLAG__)) |
Clear the specified SAI pending flag. More... | |
#define | __HAL_SAI_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 &= ~SAI_xCR1_SAIEN) |
#define | __HAL_SAI_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 &= ~SAI_xCR1_SAIEN) |
Disable SAI. More... | |
#define | __HAL_SAI_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 &= ~SAI_xCR1_SAIEN) |
Disable SAI. More... | |
#define | __HAL_SAI_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IMR &= (~(__INTERRUPT__))) |
#define | __HAL_SAI_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IMR &= (~(__INTERRUPT__))) |
Disable the specified SAI interrupts. More... | |
#define | __HAL_SAI_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IMR &= (~(__INTERRUPT__))) |
Disable the specified SAI interrupts. More... | |
#define | __HAL_SAI_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 |= SAI_xCR1_SAIEN) |
#define | __HAL_SAI_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 |= SAI_xCR1_SAIEN) |
Enable SAI. More... | |
#define | __HAL_SAI_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 |= SAI_xCR1_SAIEN) |
Enable SAI. More... | |
#define | __HAL_SAI_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IMR |= (__INTERRUPT__)) |
Enable or disable the specified SAI interrupts. More... | |
#define | __HAL_SAI_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IMR |= (__INTERRUPT__)) |
Enable the specified SAI interrupts. More... | |
#define | __HAL_SAI_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IMR |= (__INTERRUPT__)) |
Enable the specified SAI interrupts. More... | |
#define | __HAL_SAI_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified SAI flag is set or not. More... | |
#define | __HAL_SAI_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified SAI flag is set or not. More... | |
#define | __HAL_SAI_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified SAI flag is set or not. More... | |
#define | __HAL_SAI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((__HANDLE__)->Instance->IMR & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Check whether the specified SAI interrupt source is enabled or not. More... | |
#define | __HAL_SAI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((__HANDLE__)->Instance->IMR & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Check whether the specified SAI interrupt source is enabled or not. More... | |
#define | __HAL_SAI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((__HANDLE__)->Instance->IMR & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Check whether the specified SAI interrupt source is enabled or not. More... | |
#define | __HAL_SAI_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_SAI_STATE_RESET) |
Reset SAI handle state. More... | |
#define | __HAL_SAI_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_SAI_STATE_RESET) |
Reset SAI handle state. More... | |
#define | __HAL_SAI_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_SAI_STATE_RESET) |
Reset SAI handle state. More... | |
macros to handle interrupts and specific configurations
#define __HAL_SAI_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->CLRFR = (__FLAG__)) |
Clear the specified SAI pending flag.
<strong>HANDLE</strong> | specifies the SAI Handle. |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be any combination of the following values:
|
None |
Definition at line 655 of file stm32f7xx_hal_sai.h.
#define __HAL_SAI_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->CLRFR = (__FLAG__)) |
Clear the specified SAI pending flag.
<strong>HANDLE</strong> | specifies the SAI Handle. |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be any combination of the following values:
|
None |
Definition at line 729 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->CLRFR = (__FLAG__)) |
Clear the specified SAI pending flag.
<strong>HANDLE</strong> | specifies the SAI Handle. |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be any combination of the following values:
|
None |
Definition at line 729 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 &= ~SAI_xCR1_SAIEN) |
Definition at line 658 of file stm32f7xx_hal_sai.h.
#define __HAL_SAI_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 &= ~SAI_xCR1_SAIEN) |
Disable SAI.
<strong>HANDLE</strong> | specifies the SAI Handle. |
None |
Definition at line 741 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 &= ~SAI_xCR1_SAIEN) |
Disable SAI.
<strong>HANDLE</strong> | specifies the SAI Handle. |
None |
Definition at line 741 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IMR &= (~(__INTERRUPT__))) |
Definition at line 609 of file stm32f7xx_hal_sai.h.
#define __HAL_SAI_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IMR &= (~(__INTERRUPT__))) |
Disable the specified SAI interrupts.
<strong>HANDLE</strong> | specifies the SAI 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 683 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IMR &= (~(__INTERRUPT__))) |
Disable the specified SAI interrupts.
<strong>HANDLE</strong> | specifies the SAI 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 683 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 |= SAI_xCR1_SAIEN) |
Definition at line 657 of file stm32f7xx_hal_sai.h.
#define __HAL_SAI_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 |= SAI_xCR1_SAIEN) |
Enable SAI.
<strong>HANDLE</strong> | specifies the SAI Handle. |
None |
Definition at line 735 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 |= SAI_xCR1_SAIEN) |
Enable SAI.
<strong>HANDLE</strong> | specifies the SAI Handle. |
None |
Definition at line 735 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IMR |= (__INTERRUPT__)) |
Enable or disable the specified SAI interrupts.
<strong>HANDLE</strong> | specifies the SAI 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 608 of file stm32f7xx_hal_sai.h.
#define __HAL_SAI_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IMR |= (__INTERRUPT__)) |
Enable the specified SAI interrupts.
<strong>HANDLE</strong> | specifies the SAI 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 668 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IMR |= (__INTERRUPT__)) |
Enable the specified SAI interrupts.
<strong>HANDLE</strong> | specifies the SAI 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 668 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified SAI flag is set or not.
<strong>HANDLE</strong> | specifies the SAI 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 639 of file stm32f7xx_hal_sai.h.
#define __HAL_SAI_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified SAI flag is set or not.
<strong>HANDLE</strong> | specifies the SAI 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 713 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified SAI flag is set or not.
<strong>HANDLE</strong> | specifies the SAI 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 713 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((((__HANDLE__)->Instance->IMR & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Check whether the specified SAI interrupt source is enabled or not.
<strong>HANDLE</strong> | specifies the SAI Handle. |
<strong>INTERRUPT</strong> | specifies the SAI interrupt source to check. This parameter can be one of the following values:
|
The | new state of INTERRUPT (TRUE or FALSE). |
Definition at line 624 of file stm32f7xx_hal_sai.h.
#define __HAL_SAI_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((((__HANDLE__)->Instance->IMR & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Check whether the specified SAI interrupt source is enabled or not.
<strong>HANDLE</strong> | specifies the SAI Handle. |
<strong>INTERRUPT</strong> | specifies the SAI interrupt source to check. This parameter can be one of the following values:
|
The | new state of INTERRUPT (TRUE or FALSE). |
Definition at line 698 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((((__HANDLE__)->Instance->IMR & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Check whether the specified SAI interrupt source is enabled or not.
<strong>HANDLE</strong> | specifies the SAI Handle. |
<strong>INTERRUPT</strong> | specifies the SAI interrupt source to check. This parameter can be one of the following values:
|
The | new state of INTERRUPT (TRUE or FALSE). |
Definition at line 698 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_SAI_STATE_RESET) |
Reset SAI handle state.
<strong>HANDLE</strong> | specifies the SAI Handle. |
None |
Definition at line 592 of file stm32f7xx_hal_sai.h.
#define __HAL_SAI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_SAI_STATE_RESET) |
Reset SAI handle state.
<strong>HANDLE</strong> | specifies the SAI Handle. |
None |
Definition at line 652 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.
#define __HAL_SAI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_SAI_STATE_RESET) |
Reset SAI handle state.
<strong>HANDLE</strong> | specifies the SAI Handle. |
None |
Definition at line 652 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.