STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
stm32f4xx_hal_pwr_ex.c File Reference

Extended PWR HAL module driver. This file provides firmware functions to manage the following functionalities of PWR extension peripheral:
More...

#include "stm32f4xx_hal.h"
Include dependency graph for stm32f4xx_hal_pwr_ex.c:

Go to the source code of this file.

Macros

#define PWR_OVERDRIVE_TIMEOUT_VALUE   1000U
 
#define PWR_UDERDRIVE_TIMEOUT_VALUE   1000U
 
#define PWR_BKPREG_TIMEOUT_VALUE   1000U
 
#define PWR_VOSRDY_TIMEOUT_VALUE   1000U
 

Functions

HAL_StatusTypeDef HAL_PWREx_EnableBkUpReg (void)
 Enables the Backup Regulator.
 
HAL_StatusTypeDef HAL_PWREx_DisableBkUpReg (void)
 Disables the Backup Regulator.
 
void HAL_PWREx_EnableFlashPowerDown (void)
 Enables the Flash Power Down in Stop mode.
 
void HAL_PWREx_DisableFlashPowerDown (void)
 Disables the Flash Power Down in Stop mode.
 
uint32_t HAL_PWREx_GetVoltageRange (void)
 Return Voltage Scaling Range.
 
HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling (uint32_t VoltageScaling)
 Configures the main internal regulator output voltage.
 
HAL_StatusTypeDef HAL_PWREx_EnableOverDrive (void)
 Activates the Over-Drive mode.
 
HAL_StatusTypeDef HAL_PWREx_DisableOverDrive (void)
 Deactivates the Over-Drive mode.
 
HAL_StatusTypeDef HAL_PWREx_EnterUnderDriveSTOPMode (uint32_t Regulator, uint8_t STOPEntry)
 Enters in Under-Drive STOP mode.
 

Detailed Description

Extended PWR HAL module driver. This file provides firmware functions to manage the following functionalities of PWR extension peripheral:

Author
MCD Application Team
  • Peripheral Extended features functions
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.c.