![]() |
RTEMS 6.3
|
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 the specified SAI interrupts. | |
| #define | __HAL_SAI_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
| Disable the specified SAI interrupts. | |
| #define | __HAL_SAI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
| Check whether the specified SAI interrupt source is enabled or not. | |
| #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_CLEAR_FLAG | ( | __HANDLE__, | |
| __FLAG__ ) |
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 |
| #define __HAL_SAI_DISABLE | ( | __HANDLE__ | ) |
Disable SAI.
| __HANDLE__ | specifies the SAI Handle. |
| None |
| #define __HAL_SAI_DISABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
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 |
| #define __HAL_SAI_ENABLE | ( | __HANDLE__ | ) |
Enable SAI.
| __HANDLE__ | specifies the SAI Handle. |
| None |
| #define __HAL_SAI_ENABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Enable 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 |
| #define __HAL_SAI_GET_FLAG | ( | __HANDLE__, | |
| __FLAG__ ) |
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). |
| #define __HAL_SAI_GET_IT_SOURCE | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Check whether the specified SAI interrupt source is enabled or not.
| __HANDLE__ | specifies the SAI Handle. |
| __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). |
| #define __HAL_SAI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
Reset SAI handle state.
| __HANDLE__ | specifies the SAI Handle. |
| None |