Macros
WWDG Exported Macros
Collaboration diagram for WWDG Exported Macros:

Macros

#define __HAL_WWDG_CLEAR_FLAG(__HANDLE__, __FLAG__)   ((__HANDLE__)->Instance->SR = ~(__FLAG__))
 Clear the WWDG's pending flags. More...
 
#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. More...
 
#define __HAL_WWDG_ENABLE(__HANDLE__)   SET_BIT((__HANDLE__)->Instance->CR, WWDG_CR_WDGA)
 Enable the WWDG peripheral. More...
 
#define __HAL_WWDG_ENABLE_IT(__HANDLE__, __INTERRUPT__)   SET_BIT((__HANDLE__)->Instance->CFR, (__INTERRUPT__))
 Enable the WWDG early wakeup interrupt. More...
 
#define __HAL_WWDG_GET_FLAG(__HANDLE__, __FLAG__)   (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__FLAG__))
 Check whether the specified WWDG flag is set or not. More...
 
#define __HAL_WWDG_GET_IT(__HANDLE__, __INTERRUPT__)   __HAL_WWDG_GET_FLAG((__HANDLE__),(__INTERRUPT__))
 Check whether the selected WWDG interrupt has occurred or not. More...
 
#define __HAL_WWDG_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)
 Check whether the specified WWDG interrupt source is enabled or not. More...
 

Detailed Description

Macro Definition Documentation

◆ __HAL_WWDG_CLEAR_FLAG

#define __HAL_WWDG_CLEAR_FLAG (   __HANDLE__,
  __FLAG__ 
)    ((__HANDLE__)->Instance->SR = ~(__FLAG__))

Clear the WWDG's pending flags.

Parameters
<strong>HANDLE</strong>WWDG handle
<strong>FLAG</strong>specifies the flag to clear. This parameter can be one of the following values:
  • WWDG_FLAG_EWIF: Early wakeup interrupt flag
Return values
None

Definition at line 233 of file stm32f7xx_hal_wwdg.h.

◆ __HAL_WWDG_CLEAR_IT

#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.

Parameters
<strong>HANDLE</strong>WWDG handle
<strong>INTERRUPT</strong>specifies the interrupt pending bit to clear. This parameter can be one of the following values:
  • WWDG_FLAG_EWIF: Early wakeup interrupt flag

Definition at line 213 of file stm32f7xx_hal_wwdg.h.

◆ __HAL_WWDG_ENABLE

#define __HAL_WWDG_ENABLE (   __HANDLE__)    SET_BIT((__HANDLE__)->Instance->CR, WWDG_CR_WDGA)

Enable the WWDG peripheral.

Parameters
<strong>HANDLE</strong>WWDG handle
Return values
None

Definition at line 183 of file stm32f7xx_hal_wwdg.h.

◆ __HAL_WWDG_ENABLE_IT

#define __HAL_WWDG_ENABLE_IT (   __HANDLE__,
  __INTERRUPT__ 
)    SET_BIT((__HANDLE__)->Instance->CFR, (__INTERRUPT__))

Enable the WWDG early wakeup interrupt.

Parameters
<strong>HANDLE</strong>WWDG handle
<strong>INTERRUPT</strong>specifies the interrupt to enable. This parameter can be one of the following values:
  • WWDG_IT_EWI: Early wakeup interrupt
Note
Once enabled this interrupt cannot be disabled except by a system reset.
Return values
None

Definition at line 194 of file stm32f7xx_hal_wwdg.h.

◆ __HAL_WWDG_GET_FLAG

#define __HAL_WWDG_GET_FLAG (   __HANDLE__,
  __FLAG__ 
)    (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__FLAG__))

Check whether the specified WWDG flag is set or not.

Parameters
<strong>HANDLE</strong>WWDG handle
<strong>FLAG</strong>specifies the flag to check. This parameter can be one of the following values:
  • WWDG_FLAG_EWIF: Early wakeup interrupt flag
Return values
Thenew state of WWDG_FLAG (SET or RESET).

Definition at line 223 of file stm32f7xx_hal_wwdg.h.

◆ __HAL_WWDG_GET_IT

#define __HAL_WWDG_GET_IT (   __HANDLE__,
  __INTERRUPT__ 
)    __HAL_WWDG_GET_FLAG((__HANDLE__),(__INTERRUPT__))

Check whether the selected WWDG interrupt has occurred or not.

Parameters
<strong>HANDLE</strong>WWDG handle
<strong>INTERRUPT</strong>specifies the it to check. This parameter can be one of the following values:
  • WWDG_FLAG_EWIF: Early wakeup interrupt IT
Return values
Thenew state of WWDG_FLAG (SET or RESET).

Definition at line 204 of file stm32f7xx_hal_wwdg.h.

◆ __HAL_WWDG_GET_IT_SOURCE

#define __HAL_WWDG_GET_IT_SOURCE (   __HANDLE__,
  __INTERRUPT__ 
)
Value:
(((__HANDLE__)->Instance->CFR\
& (__INTERRUPT__)) == (__INTERRUPT__))

Check whether the specified WWDG interrupt source is enabled or not.

Parameters
<strong>HANDLE</strong>WWDG Handle.
<strong>INTERRUPT</strong>specifies the WWDG interrupt source to check. This parameter can be one of the following values:
  • WWDG_IT_EWI: Early Wakeup Interrupt
Return values
stateof INTERRUPT (TRUE or FALSE).

Definition at line 242 of file stm32f7xx_hal_wwdg.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:08