STM32F479xx HAL User Manual
|
Modules | |
PWREx Regulator state in UnderDrive mode | |
PWREx Over Under Drive Flag | |
PWREx Regulator Voltage Scale | |
Defines | |
#define | __HAL_PWR_VOLTAGESCALING_CONFIG(__REGULATOR__) |
macros configure the main internal regulator output voltage. | |
#define | __HAL_PWR_OVERDRIVE_ENABLE() (*(__IO uint32_t *) CR_ODEN_BB = ENABLE) |
Macros to enable or disable the Over drive mode. | |
#define | __HAL_PWR_OVERDRIVE_DISABLE() (*(__IO uint32_t *) CR_ODEN_BB = DISABLE) |
#define | __HAL_PWR_OVERDRIVESWITCHING_ENABLE() (*(__IO uint32_t *) CR_ODSWEN_BB = ENABLE) |
Macros to enable or disable the Over drive switching. | |
#define | __HAL_PWR_OVERDRIVESWITCHING_DISABLE() (*(__IO uint32_t *) CR_ODSWEN_BB = DISABLE) |
#define | __HAL_PWR_UNDERDRIVE_ENABLE() (PWR->CR |= (uint32_t)PWR_CR_UDEN) |
Macros to enable or disable the Under drive mode. | |
#define | __HAL_PWR_UNDERDRIVE_DISABLE() (PWR->CR &= (uint32_t)(~PWR_CR_UDEN)) |
#define | __HAL_PWR_GET_ODRUDR_FLAG(__FLAG__) ((PWR->CSR & (__FLAG__)) == (__FLAG__)) |
Check PWR flag is set or not. | |
#define | __HAL_PWR_CLEAR_ODRUDR_FLAG() (PWR->CSR |= PWR_FLAG_UDRDY) |
Clear the Under-Drive Ready flag. |
#define __HAL_PWR_CLEAR_ODRUDR_FLAG | ( | ) | (PWR->CSR |= PWR_FLAG_UDRDY) |
Clear the Under-Drive Ready flag.
Definition at line 188 of file stm32f4xx_hal_pwr_ex.h.
Referenced by HAL_PWREx_EnterUnderDriveSTOPMode().
#define __HAL_PWR_GET_ODRUDR_FLAG | ( | __FLAG__ | ) | ((PWR->CSR & (__FLAG__)) == (__FLAG__)) |
Check PWR flag is set or not.
__FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of __FLAG__ (TRUE or FALSE). |
Definition at line 183 of file stm32f4xx_hal_pwr_ex.h.
#define __HAL_PWR_OVERDRIVE_DISABLE | ( | ) | (*(__IO uint32_t *) CR_ODEN_BB = DISABLE) |
Definition at line 150 of file stm32f4xx_hal_pwr_ex.h.
Referenced by HAL_PWREx_DisableOverDrive().
#define __HAL_PWR_OVERDRIVE_ENABLE | ( | ) | (*(__IO uint32_t *) CR_ODEN_BB = ENABLE) |
Macros to enable or disable the Over drive mode.
Definition at line 149 of file stm32f4xx_hal_pwr_ex.h.
Referenced by HAL_PWREx_EnableOverDrive().
#define __HAL_PWR_OVERDRIVESWITCHING_DISABLE | ( | ) | (*(__IO uint32_t *) CR_ODSWEN_BB = DISABLE) |
Definition at line 156 of file stm32f4xx_hal_pwr_ex.h.
Referenced by HAL_PWREx_DisableOverDrive().
#define __HAL_PWR_OVERDRIVESWITCHING_ENABLE | ( | ) | (*(__IO uint32_t *) CR_ODSWEN_BB = ENABLE) |
Macros to enable or disable the Over drive switching.
Definition at line 155 of file stm32f4xx_hal_pwr_ex.h.
Referenced by HAL_PWREx_EnableOverDrive().
#define __HAL_PWR_UNDERDRIVE_DISABLE | ( | ) | (PWR->CR &= (uint32_t)(~PWR_CR_UDEN)) |
Definition at line 169 of file stm32f4xx_hal_pwr_ex.h.
#define __HAL_PWR_UNDERDRIVE_ENABLE | ( | ) | (PWR->CR |= (uint32_t)PWR_CR_UDEN) |
Macros to enable or disable the Under drive mode.
Definition at line 168 of file stm32f4xx_hal_pwr_ex.h.
Referenced by HAL_PWREx_EnterUnderDriveSTOPMode().
#define __HAL_PWR_VOLTAGESCALING_CONFIG | ( | __REGULATOR__ | ) |
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.
__REGULATOR__ | 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:
|
None |
Definition at line 135 of file stm32f4xx_hal_pwr_ex.h.
Referenced by HAL_PWREx_ControlVoltageScaling().