Modules | Macros
Collaboration diagram for PWREx Exported Constants:

Modules

 PWREx Regulator Voltage Scale
 
 PWREx Wake Up Pins
 
 PWREx Regulator state in UnderDrive mode
 
 PWREx Over Under Drive Flag
 
 PWREx Wake Up Pin Flags
 
 PWREx Pin Polarity configuration
 
 PWREx Pin Pull configuration
 
 PWREx Wakeup Pins Flags.
 
 PWREx Domains definition
 
 PWREx Domain Flags definition
 
 PWREx D3 Domain State
 
 PWREx Supply configuration
 
 PWREx AVD detection level
 
 PWREx AVD Mode
 
 PWR battery charging resistor selection
 
 PWREx VBAT Thresholds
 
 PWREx Temperature Thresholds
 
 PWREx AVD EXTI Line 16
 

Macros

#define __HAL_PWR_VOLTAGESCALING_CONFIG(__REGULATOR__)
 macros configure the main internal regulator output voltage. More...
 
#define __HAL_PWR_VOLTAGESCALING_CONFIG(__REGULATOR__)
 macros configure the main internal regulator output voltage. More...
 
#define __HAL_PWR_VOLTAGESCALING_CONFIG(__REGULATOR__)
 macros configure the main internal regulator output voltage. More...
 

Detailed Description

Macro Definition Documentation

◆ __HAL_PWR_VOLTAGESCALING_CONFIG [1/3]

#define __HAL_PWR_VOLTAGESCALING_CONFIG (   __REGULATOR__)
Value:
do { \
__IO uint32_t tmpreg = 0x00U; \
MODIFY_REG(PWR->CR, PWR_CR_VOS, (__REGULATOR__)); \
/* Delay after an RCC peripheral clock enabling */ \
tmpreg = READ_BIT(PWR->CR, PWR_CR_VOS); \
UNUSED(tmpreg); \
} while(0U)

macros configure the main internal regulator output voltage.

Parameters
<strong>REGULATOR</strong>specifies the regulator output voltage to achieve a tradeoff between performance and power consumption when the device does not operate at the maximum frequency (refer to the datasheets for more details). This parameter can be one of the following values:
  • PWR_REGULATOR_VOLTAGE_SCALE1: Regulator voltage output Scale 1 mode
  • PWR_REGULATOR_VOLTAGE_SCALE2: Regulator voltage output Scale 2 mode
  • PWR_REGULATOR_VOLTAGE_SCALE3: Regulator voltage output Scale 3 mode
Return values
None

Definition at line 135 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h.

◆ __HAL_PWR_VOLTAGESCALING_CONFIG [2/3]

#define __HAL_PWR_VOLTAGESCALING_CONFIG (   __REGULATOR__)
Value:
do { \
__IO uint32_t tmpreg = 0x00U; \
MODIFY_REG(PWR->CR, PWR_CR_VOS, (__REGULATOR__)); \
/* Delay after an RCC peripheral clock enabling */ \
tmpreg = READ_BIT(PWR->CR, PWR_CR_VOS); \
UNUSED(tmpreg); \
} while(0U)

macros configure the main internal regulator output voltage.

Parameters
<strong>REGULATOR</strong>specifies the regulator output voltage to achieve a tradeoff between performance and power consumption when the device does not operate at the maximum frequency (refer to the datasheets for more details). This parameter can be one of the following values:
  • PWR_REGULATOR_VOLTAGE_SCALE1: Regulator voltage output Scale 1 mode
  • PWR_REGULATOR_VOLTAGE_SCALE2: Regulator voltage output Scale 2 mode
  • PWR_REGULATOR_VOLTAGE_SCALE3: Regulator voltage output Scale 3 mode
Return values
None

Definition at line 135 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h.

◆ __HAL_PWR_VOLTAGESCALING_CONFIG [3/3]

#define __HAL_PWR_VOLTAGESCALING_CONFIG (   __REGULATOR__)
Value:
do { \
__IO uint32_t tmpreg = 0x00U; \
MODIFY_REG(PWR->CR, PWR_CR_VOS, (__REGULATOR__)); \
/* Delay after an RCC peripheral clock enabling */ \
tmpreg = READ_BIT(PWR->CR, PWR_CR_VOS); \
UNUSED(tmpreg); \
} while(0U)

macros configure the main internal regulator output voltage.

Parameters
<strong>REGULATOR</strong>specifies the regulator output voltage to achieve a tradeoff between performance and power consumption when the device does not operate at the maximum frequency (refer to the datasheets for more details). This parameter can be one of the following values:
  • PWR_REGULATOR_VOLTAGE_SCALE1: Regulator voltage output Scale 1 mode
  • PWR_REGULATOR_VOLTAGE_SCALE2: Regulator voltage output Scale 2 mode
  • PWR_REGULATOR_VOLTAGE_SCALE3: Regulator voltage output Scale 3 mode
Return values
None

Definition at line 135 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h.

PWR
#define PWR
Definition: stm32f407xx.h:1083
PWR_CR_VOS
#define PWR_CR_VOS
Definition: stm32f407xx.h:9389
READ_BIT
#define READ_BIT(REG, BIT)
Definition: stm32f407/stm32f407g-disc1/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:216


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