Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
stm32l4xx_hal_pwr_ex.c File Reference
Extended PWR HAL module driver. This file provides firmware functions to manage the following functionalities of the Power Controller (PWR) peripheral: + Extended Initialization and de-initialization functions + Extended Peripheral Control functions. More...
Go to the source code of this file.
Functions | |
uint32_t | HAL_PWREx_GetVoltageRange (void) |
Return Voltage Scaling Range. | |
HAL_StatusTypeDef | HAL_PWREx_ControlVoltageScaling (uint32_t VoltageScaling) |
Configure the main internal regulator output voltage. | |
void | HAL_PWREx_EnableBatteryCharging (uint32_t ResistorSelection) |
Enable battery charging. | |
void | HAL_PWREx_DisableBatteryCharging (void) |
Disable battery charging. | |
void | HAL_PWREx_EnableVddUSB (void) |
Enable VDDUSB supply. | |
void | HAL_PWREx_DisableVddUSB (void) |
Disable VDDUSB supply. | |
void | HAL_PWREx_EnableVddIO2 (void) |
Enable VDDIO2 supply. | |
void | HAL_PWREx_DisableVddIO2 (void) |
Disable VDDIO2 supply. | |
void | HAL_PWREx_EnableInternalWakeUpLine (void) |
Enable Internal Wake-up Line. | |
void | HAL_PWREx_DisableInternalWakeUpLine (void) |
Disable Internal Wake-up Line. | |
HAL_StatusTypeDef | HAL_PWREx_EnableGPIOPullUp (uint32_t GPIO, uint32_t GPIONumber) |
Enable GPIO pull-up state in Standby and Shutdown modes. | |
HAL_StatusTypeDef | HAL_PWREx_DisableGPIOPullUp (uint32_t GPIO, uint32_t GPIONumber) |
Disable GPIO pull-up state in Standby mode and Shutdown modes. | |
HAL_StatusTypeDef | HAL_PWREx_EnableGPIOPullDown (uint32_t GPIO, uint32_t GPIONumber) |
Enable GPIO pull-down state in Standby and Shutdown modes. | |
HAL_StatusTypeDef | HAL_PWREx_DisableGPIOPullDown (uint32_t GPIO, uint32_t GPIONumber) |
Disable GPIO pull-down state in Standby and Shutdown modes. | |
void | HAL_PWREx_EnablePullUpPullDownConfig (void) |
Enable pull-up and pull-down configuration. | |
void | HAL_PWREx_DisablePullUpPullDownConfig (void) |
Disable pull-up and pull-down configuration. | |
void | HAL_PWREx_EnableSRAM2ContentRetention (void) |
Enable SRAM2 content retention in Standby mode. | |
void | HAL_PWREx_DisableSRAM2ContentRetention (void) |
Disable SRAM2 content retention in Standby mode. | |
void | HAL_PWREx_EnablePVM1 (void) |
Enable the Power Voltage Monitoring 1: VDDUSB versus 1.2V. | |
void | HAL_PWREx_DisablePVM1 (void) |
Disable the Power Voltage Monitoring 1: VDDUSB versus 1.2V. | |
void | HAL_PWREx_EnablePVM2 (void) |
Enable the Power Voltage Monitoring 2: VDDIO2 versus 0.9V. | |
void | HAL_PWREx_DisablePVM2 (void) |
Disable the Power Voltage Monitoring 2: VDDIO2 versus 0.9V. | |
void | HAL_PWREx_EnablePVM3 (void) |
Enable the Power Voltage Monitoring 3: VDDA versus 1.62V. | |
void | HAL_PWREx_DisablePVM3 (void) |
Disable the Power Voltage Monitoring 3: VDDA versus 1.62V. | |
void | HAL_PWREx_EnablePVM4 (void) |
Enable the Power Voltage Monitoring 4: VDDA versus 2.2V. | |
void | HAL_PWREx_DisablePVM4 (void) |
Disable the Power Voltage Monitoring 4: VDDA versus 2.2V. | |
HAL_StatusTypeDef | HAL_PWREx_ConfigPVM (PWR_PVMTypeDef *sConfigPVM) |
Configure the Peripheral Voltage Monitoring (PVM). | |
void | HAL_PWREx_EnableLowPowerRunMode (void) |
Enter Low-power Run mode. | |
HAL_StatusTypeDef | HAL_PWREx_DisableLowPowerRunMode (void) |
Exit Low-power Run mode. | |
void | HAL_PWREx_EnterSTOP1Mode (uint32_t Regulator, uint8_t STOPEntry) |
Enter Stop 1 mode. | |
void | HAL_PWREx_EnterSTOP2Mode (uint8_t STOPEntry) |
Enter Stop 2 mode. | |
void | HAL_PWREx_EnterSHUTDOWNMode (void) |
Enter Shutdown mode. | |
void | HAL_PWREx_PVD_PVM_IRQHandler (void) |
This function handles the PWR PVD/PVMx interrupt request. | |
__weak void | HAL_PWREx_PVM1Callback (void) |
PWR PVM1 interrupt callback. | |
__weak void | HAL_PWREx_PVM2Callback (void) |
PWR PVM2 interrupt callback. | |
__weak void | HAL_PWREx_PVM3Callback (void) |
PWR PVM3 interrupt callback. | |
__weak void | HAL_PWREx_PVM4Callback (void) |
PWR PVM4 interrupt callback. |
Detailed Description
Extended PWR HAL module driver. This file provides firmware functions to manage the following functionalities of the Power Controller (PWR) peripheral: + Extended Initialization and de-initialization functions + Extended Peripheral Control functions.
- Version:
- V1.1.0
- Date:
- 16-September-2015
- Attention:
© COPYRIGHT(c) 2015 STMicroelectronics
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file stm32l4xx_hal_pwr_ex.c.
Generated on Tue Jul 12 2022 11:35:18 by 1.7.2