STM32F4xx HAL Driver master
STM32CubeF4 HAL / LL Drivers API Reference
Loading...
Searching...
No Matches
stm32f4xx_hal_pwr_ex.h File Reference

Header file of PWR HAL Extension module. More...

Include dependency graph for stm32f4xx_hal_pwr_ex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PWR_REGULATOR_VOLTAGE_SCALE1
#define PWR_REGULATOR_VOLTAGE_SCALE2
#define PWR_REGULATOR_VOLTAGE_SCALE3   PWR_CR_VOS_0 /* Scale 3 mode: the maximum value of fHCLK is 120 MHz. */
#define __HAL_PWR_VOLTAGESCALING_CONFIG(__REGULATOR__)
 macros configure the main internal regulator output voltage.
#define FPDS_BIT_NUMBER   PWR_CR_FPDS_Pos
#define CR_FPDS_BB   (uint32_t)(PERIPH_BB_BASE + (PWR_CR_OFFSET_BB * 32U) + (FPDS_BIT_NUMBER * 4U))
#define ODEN_BIT_NUMBER   PWR_CR_ODEN_Pos
#define CR_ODEN_BB   (uint32_t)(PERIPH_BB_BASE + (PWR_CR_OFFSET_BB * 32U) + (ODEN_BIT_NUMBER * 4U))
#define ODSWEN_BIT_NUMBER   PWR_CR_ODSWEN_Pos
#define CR_ODSWEN_BB   (uint32_t)(PERIPH_BB_BASE + (PWR_CR_OFFSET_BB * 32U) + (ODSWEN_BIT_NUMBER * 4U))
#define MRLVDS_BIT_NUMBER   PWR_CR_MRLVDS_Pos
#define CR_MRLVDS_BB   (uint32_t)(PERIPH_BB_BASE + (PWR_CR_OFFSET_BB * 32U) + (MRLVDS_BIT_NUMBER * 4U))
#define LPLVDS_BIT_NUMBER   PWR_CR_LPLVDS_Pos
#define CR_LPLVDS_BB   (uint32_t)(PERIPH_BB_BASE + (PWR_CR_OFFSET_BB * 32U) + (LPLVDS_BIT_NUMBER * 4U))
#define BRE_BIT_NUMBER   PWR_CSR_BRE_Pos
#define CSR_BRE_BB   (uint32_t)(PERIPH_BB_BASE + (PWR_CSR_OFFSET_BB * 32U) + (BRE_BIT_NUMBER * 4U))
#define IS_PWR_VOLTAGE_SCALING_RANGE(VOLTAGE)
#define IS_PWR_WAKEUP_PIN(PIN)

Functions

void HAL_PWREx_EnableFlashPowerDown (void)
void HAL_PWREx_DisableFlashPowerDown (void)
HAL_StatusTypeDef HAL_PWREx_EnableBkUpReg (void)
HAL_StatusTypeDef HAL_PWREx_DisableBkUpReg (void)
uint32_t HAL_PWREx_GetVoltageRange (void)
HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling (uint32_t VoltageScaling)

Detailed Description

Header file of PWR HAL Extension module.

Author
MCD Application Team
Attention

Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file stm32f4xx_hal_pwr_ex.h.