STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_hal_pwr.c File Reference

PWR HAL module driver. This file provides firmware functions to manage the following functionalities of the Power Controller (PWR) peripheral: More...

Go to the source code of this file.

Functions

void HAL_PWR_DeInit (void)
 Deinitialize the HAL PWR peripheral registers to their default reset values. More...
 
void HAL_PWR_EnableBkUpAccess (void)
 Enable access to the backup domain (RTC registers, RTC backup data registers). More...
 
void HAL_PWR_DisableBkUpAccess (void)
 Disable access to the backup domain (RTC registers, RTC backup data registers). More...
 
HAL_StatusTypeDef HAL_PWR_ConfigPVD (PWR_PVDTypeDef *sConfigPVD)
 Configure the voltage threshold detected by the Power Voltage Detector (PVD). More...
 
void HAL_PWR_EnablePVD (void)
 Enable the Power Voltage Detector (PVD). More...
 
void HAL_PWR_DisablePVD (void)
 Disable the Power Voltage Detector (PVD). More...
 
void HAL_PWR_EnableWakeUpPin (uint32_t WakeUpPinPolarity)
 Enable the WakeUp PINx functionality. More...
 
void HAL_PWR_DisableWakeUpPin (uint32_t WakeUpPinx)
 Disable the WakeUp PINx functionality. More...
 
void HAL_PWR_EnterSLEEPMode (uint32_t Regulator, uint8_t SLEEPEntry)
 Enter Sleep or Low-power Sleep mode. More...
 
void HAL_PWR_EnterSTOPMode (uint32_t Regulator, uint8_t STOPEntry)
 Enter Stop mode. More...
 
void HAL_PWR_EnterSTANDBYMode (void)
 Enter Standby mode. More...
 
void HAL_PWR_EnableSleepOnExit (void)
 Indicate Sleep-On-Exit when returning from Handler mode to Thread mode. More...
 
void HAL_PWR_DisableSleepOnExit (void)
 Disable Sleep-On-Exit feature when returning from Handler mode to Thread mode. More...
 
void HAL_PWR_EnableSEVOnPend (void)
 Enable CORTEX M4 SEVONPEND bit. More...
 
void HAL_PWR_DisableSEVOnPend (void)
 Disable CORTEX M4 SEVONPEND bit. More...
 
void HAL_PWR_PVDCallback (void)
 PWR PVD interrupt callback. More...
 

Detailed Description

PWR HAL module driver. This file provides firmware functions to manage the following functionalities of the Power Controller (PWR) peripheral:

Author
MCD Application Team
  • Initialization/de-initialization functions
  • Peripheral Control functions
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l4xx_hal_pwr.c.