RTEMS 6.1-rc5
|
Macros | |
#define | __HAL_WWDG_ENABLE(__HANDLE__) SET_BIT((__HANDLE__)->Instance->CR, WWDG_CR_WDGA) |
Enable the WWDG peripheral. | |
#define | __HAL_WWDG_ENABLE_IT(__HANDLE__, __INTERRUPT__) SET_BIT((__HANDLE__)->Instance->CFR, (__INTERRUPT__)) |
Enable the WWDG early wakeup interrupt. | |
#define | __HAL_WWDG_GET_IT(__HANDLE__, __INTERRUPT__) __HAL_WWDG_GET_FLAG((__HANDLE__),(__INTERRUPT__)) |
Check whether the selected WWDG interrupt has occurred or not. | |
#define | __HAL_WWDG_CLEAR_IT(__HANDLE__, __INTERRUPT__) __HAL_WWDG_CLEAR_FLAG((__HANDLE__), (__INTERRUPT__)) |
Clear the WWDG interrupt pending bits. bits to clear the selected interrupt pending bits. | |
#define | __HAL_WWDG_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__FLAG__)) |
Check whether the specified WWDG flag is set or not. | |
#define | __HAL_WWDG_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR = ~(__FLAG__)) |
Clear the WWDG's pending flags. | |
#define | __HAL_WWDG_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Check whether the specified WWDG interrupt source is enabled or not. | |
#define __HAL_WWDG_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->SR = ~(__FLAG__)) |
Clear the WWDG's pending flags.
__HANDLE__ | WWDG handle |
__FLAG__ | specifies the flag to clear. This parameter can be one of the following values:
|
None |
#define __HAL_WWDG_CLEAR_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | __HAL_WWDG_CLEAR_FLAG((__HANDLE__), (__INTERRUPT__)) |
Clear the WWDG interrupt pending bits. bits to clear the selected interrupt pending bits.
__HANDLE__ | WWDG handle |
__INTERRUPT__ | specifies the interrupt pending bit to clear. This parameter can be one of the following values:
|
#define __HAL_WWDG_ENABLE | ( | __HANDLE__ | ) | SET_BIT((__HANDLE__)->Instance->CR, WWDG_CR_WDGA) |
Enable the WWDG peripheral.
__HANDLE__ | WWDG handle |
None |
#define __HAL_WWDG_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | SET_BIT((__HANDLE__)->Instance->CFR, (__INTERRUPT__)) |
Enable the WWDG early wakeup interrupt.
__HANDLE__ | WWDG handle |
__INTERRUPT__ | specifies the interrupt to enable. This parameter can be one of the following values:
|
None |
#define __HAL_WWDG_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__FLAG__)) |
Check whether the specified WWDG flag is set or not.
__HANDLE__ | WWDG handle |
__FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of WWDG_FLAG (SET or RESET). |
#define __HAL_WWDG_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | __HAL_WWDG_GET_FLAG((__HANDLE__),(__INTERRUPT__)) |
Check whether the selected WWDG interrupt has occurred or not.
__HANDLE__ | WWDG handle |
__INTERRUPT__ | specifies the it to check. This parameter can be one of the following values:
|
The | new state of WWDG_FLAG (SET or RESET). |
#define __HAL_WWDG_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Check whether the specified WWDG interrupt source is enabled or not.
__HANDLE__ | WWDG Handle. |
__INTERRUPT__ | specifies the WWDG interrupt source to check. This parameter can be one of the following values:
|
state | of INTERRUPT (TRUE or FALSE). |