STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Macros
PWREx Exported Macro

Macros

#define __HAL_PWR_OVERDRIVE_ENABLE()   (PWR->CR1 |= (uint32_t)PWR_CR1_ODEN)
 Macros to enable or disable the Over drive mode. More...
 
#define __HAL_PWR_OVERDRIVE_DISABLE()   (PWR->CR1 &= (uint32_t)(~PWR_CR1_ODEN))
 
#define __HAL_PWR_OVERDRIVESWITCHING_ENABLE()   (PWR->CR1 |= (uint32_t)PWR_CR1_ODSWEN)
 Macros to enable or disable the Over drive switching. More...
 
#define __HAL_PWR_OVERDRIVESWITCHING_DISABLE()   (PWR->CR1 &= (uint32_t)(~PWR_CR1_ODSWEN))
 
#define __HAL_PWR_UNDERDRIVE_ENABLE()   (PWR->CR1 |= (uint32_t)PWR_CR1_UDEN)
 Macros to enable or disable the Under drive mode. More...
 
#define __HAL_PWR_UNDERDRIVE_DISABLE()   (PWR->CR1 &= (uint32_t)(~PWR_CR1_UDEN))
 
#define __HAL_PWR_GET_ODRUDR_FLAG(__FLAG__)   ((PWR->CSR1 & (__FLAG__)) == (__FLAG__))
 Check PWR flag is set or not. More...
 
#define __HAL_PWR_CLEAR_ODRUDR_FLAG()   (PWR->CSR1 |= PWR_FLAG_UDRDY)
 Clear the Under-Drive Ready flag. More...
 
#define __HAL_PWR_GET_WAKEUP_FLAG(__WUFLAG__)   (PWR->CSR2 & (__WUFLAG__))
 Check Wake Up flag is set or not. More...
 
#define __HAL_PWR_CLEAR_WAKEUP_FLAG(__WUFLAG__)   (PWR->CR2 |= (__WUFLAG__))
 Clear the WakeUp pins flags. More...
 

Detailed Description

Macro Definition Documentation

#define __HAL_PWR_CLEAR_ODRUDR_FLAG ( )    (PWR->CSR1 |= PWR_FLAG_UDRDY)

Clear the Under-Drive Ready flag.

Definition at line 166 of file stm32f7xx_hal_pwr_ex.h.

#define __HAL_PWR_CLEAR_WAKEUP_FLAG (   __WUFLAG__)    (PWR->CR2 |= (__WUFLAG__))

Clear the WakeUp pins flags.

Parameters
<strong>WUFLAG</strong>specifies the Wake Up pin flag to clear. This parameter can be one of the following values:
  • PWR_WAKEUP_PIN_FLAG1: Wakeup Pin Flag for PA0
  • PWR_WAKEUP_PIN_FLAG2: Wakeup Pin Flag for PA2
  • PWR_WAKEUP_PIN_FLAG3: Wakeup Pin Flag for PC1
  • PWR_WAKEUP_PIN_FLAG4: Wakeup Pin Flag for PC13
  • PWR_WAKEUP_PIN_FLAG5: Wakeup Pin Flag for PI8
  • PWR_WAKEUP_PIN_FLAG6: Wakeup Pin Flag for PI11

Definition at line 190 of file stm32f7xx_hal_pwr_ex.h.

#define __HAL_PWR_GET_ODRUDR_FLAG (   __FLAG__)    ((PWR->CSR1 & (__FLAG__)) == (__FLAG__))

Check PWR flag is set or not.

Parameters
<strong>FLAG</strong>specifies the flag to check. This parameter can be one of the following values:
  • PWR_FLAG_ODRDY: This flag indicates that the Over-drive mode is ready
  • PWR_FLAG_ODSWRDY: This flag indicates that the Over-drive mode switching is ready
  • PWR_FLAG_UDRDY: This flag indicates that the Under-drive mode is enabled in Stop mode
Return values
Thenew state of FLAG (TRUE or FALSE).

Definition at line 162 of file stm32f7xx_hal_pwr_ex.h.

#define __HAL_PWR_GET_WAKEUP_FLAG (   __WUFLAG__)    (PWR->CSR2 & (__WUFLAG__))

Check Wake Up flag is set or not.

Parameters
<strong>WUFLAG</strong>specifies the Wake Up flag to check. This parameter can be one of the following values:
  • PWR_WAKEUP_PIN_FLAG1: Wakeup Pin Flag for PA0
  • PWR_WAKEUP_PIN_FLAG2: Wakeup Pin Flag for PA2
  • PWR_WAKEUP_PIN_FLAG3: Wakeup Pin Flag for PC1
  • PWR_WAKEUP_PIN_FLAG4: Wakeup Pin Flag for PC13
  • PWR_WAKEUP_PIN_FLAG5: Wakeup Pin Flag for PI8
  • PWR_WAKEUP_PIN_FLAG6: Wakeup Pin Flag for PI11

Definition at line 178 of file stm32f7xx_hal_pwr_ex.h.

#define __HAL_PWR_OVERDRIVE_DISABLE ( )    (PWR->CR1 &= (uint32_t)(~PWR_CR1_ODEN))

Definition at line 131 of file stm32f7xx_hal_pwr_ex.h.

#define __HAL_PWR_OVERDRIVE_ENABLE ( )    (PWR->CR1 |= (uint32_t)PWR_CR1_ODEN)

Macros to enable or disable the Over drive mode.

Definition at line 130 of file stm32f7xx_hal_pwr_ex.h.

#define __HAL_PWR_OVERDRIVESWITCHING_DISABLE ( )    (PWR->CR1 &= (uint32_t)(~PWR_CR1_ODSWEN))

Definition at line 136 of file stm32f7xx_hal_pwr_ex.h.

#define __HAL_PWR_OVERDRIVESWITCHING_ENABLE ( )    (PWR->CR1 |= (uint32_t)PWR_CR1_ODSWEN)

Macros to enable or disable the Over drive switching.

Definition at line 135 of file stm32f7xx_hal_pwr_ex.h.

#define __HAL_PWR_UNDERDRIVE_DISABLE ( )    (PWR->CR1 &= (uint32_t)(~PWR_CR1_UDEN))

Definition at line 149 of file stm32f7xx_hal_pwr_ex.h.

#define __HAL_PWR_UNDERDRIVE_ENABLE ( )    (PWR->CR1 |= (uint32_t)PWR_CR1_UDEN)

Macros to enable or disable the Under drive mode.

Note
This mode is enabled only with STOP low power mode. In this mode, the 1.2V domain is preserved in reduced leakage mode. This mode is only available when the main regulator or the low power regulator is in low voltage mode.
If the Under-drive mode was enabled, it is automatically disabled after exiting Stop mode. When the voltage regulator operates in Under-drive mode, an additional startup delay is induced when waking up from Stop mode.

Definition at line 148 of file stm32f7xx_hal_pwr_ex.h.