STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
macros to handle interrupts and specific configurations More...
Macros | |
#define | __HAL_SAI_RESET_HANDLE_STATE(__HANDLE__) |
Reset SAI handle state. | |
#define | __HAL_SAI_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable or disable the specified SAI interrupts. | |
#define | __HAL_SAI_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
#define | __HAL_SAI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Check if the specified SAI interrupt source is enabled or disabled. | |
#define | __HAL_SAI_GET_FLAG(__HANDLE__, __FLAG__) |
Check whether the specified SAI flag is set or not. | |
#define | __HAL_SAI_CLEAR_FLAG(__HANDLE__, __FLAG__) |
Clear the specified SAI pending flag. | |
#define | __HAL_SAI_ENABLE(__HANDLE__) |
Enable SAI. | |
#define | __HAL_SAI_DISABLE(__HANDLE__) |
Disable SAI. | |
macros to handle interrupts and specific configurations
#define __HAL_SAI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_sai.h>
Reset SAI handle state.
__HANDLE__ | specifies the SAI Handle. |
None |
Definition at line 597 of file stm32f4xx_hal_sai.h.
#define __HAL_SAI_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_sai.h>
Enable or disable the specified SAI interrupts.
__HANDLE__ | specifies the SAI Handle. |
__INTERRUPT__ | specifies the interrupt source to enable or disable. This parameter can be one of the following values:
|
None |
Definition at line 613 of file stm32f4xx_hal_sai.h.
Referenced by HAL_SAI_EnableRxMuteMode(), HAL_SAI_Receive_DMA(), HAL_SAI_Receive_IT(), HAL_SAI_Transmit_DMA(), and HAL_SAI_Transmit_IT().
#define __HAL_SAI_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_sai.h>
Definition at line 614 of file stm32f4xx_hal_sai.h.
Referenced by HAL_SAI_DisableRxMuteMode(), SAI_DMARxCplt(), SAI_DMATxCplt(), SAI_Receive_IT16Bit(), SAI_Receive_IT32Bit(), SAI_Receive_IT8Bit(), SAI_Transmit_IT16Bit(), SAI_Transmit_IT32Bit(), and SAI_Transmit_IT8Bit().
#define __HAL_SAI_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_sai.h>
Check if the specified SAI interrupt source is enabled or disabled.
__HANDLE__ | specifies the SAI Handle. This parameter can be SAI where x: 1, 2, or 3 to select the SAI peripheral. |
__INTERRUPT__ | 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 630 of file stm32f4xx_hal_sai.h.
#define __HAL_SAI_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_sai.h>
Check whether the specified SAI flag is set or not.
__HANDLE__ | specifies the SAI Handle. |
__FLAG__ | 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 645 of file stm32f4xx_hal_sai.h.
#define __HAL_SAI_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_sai.h>
Clear the specified SAI pending flag.
__HANDLE__ | specifies the SAI Handle. |
__FLAG__ | specifies the flag to check. This parameter can be any combination of the following values:
|
None |
Definition at line 660 of file stm32f4xx_hal_sai.h.
Referenced by HAL_SAI_IRQHandler(), SAI_Receive_IT16Bit(), SAI_Receive_IT32Bit(), and SAI_Receive_IT8Bit().
#define __HAL_SAI_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_sai.h>
Enable SAI.
__HANDLE__ | specifies the SAI Handle. |
None |
Definition at line 666 of file stm32f4xx_hal_sai.h.
Referenced by HAL_SAI_DMAResume(), HAL_SAI_Receive(), HAL_SAI_Receive_DMA(), HAL_SAI_Receive_IT(), HAL_SAI_Transmit(), HAL_SAI_Transmit_DMA(), and HAL_SAI_Transmit_IT().
#define __HAL_SAI_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_sai.h>
Disable SAI.
__HANDLE__ | specifies the SAI Handle. |
None |
Definition at line 672 of file stm32f4xx_hal_sai.h.
Referenced by SAI_Disable().