Macros | Functions
stm32f7xx_hal_pwr_ex.h File Reference

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

#include "stm32f7xx_hal_def.h"
Include dependency graph for stm32f7xx_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 __HAL_PWR_CLEAR_ODRUDR_FLAG()   (PWR->CSR1 |= PWR_FLAG_UDRDY)
 Clear the Under-Drive Ready flag. More...
 
#define __HAL_PWR_CLEAR_WAKEUP_FLAG(__WUFLAG__)   (PWR->CR2 |= (__WUFLAG__))
 Clear the WakeUp pins flags. More...
 
#define __HAL_PWR_GET_ODRUDR_FLAG(__FLAG__)   ((PWR->CSR1 & (__FLAG__)) == (__FLAG__))
 Check PWR flag is set or not. More...
 
#define __HAL_PWR_GET_WAKEUP_FLAG(__WUFLAG__)   (PWR->CSR2 & (__WUFLAG__))
 Check Wake Up flag is set or not. More...
 
#define __HAL_PWR_OVERDRIVE_DISABLE()   (PWR->CR1 &= (uint32_t)(~PWR_CR1_ODEN))
 
#define __HAL_PWR_OVERDRIVE_ENABLE()   (PWR->CR1 |= (uint32_t)PWR_CR1_ODEN)
 Macros to enable or disable the Over drive mode. More...
 
#define __HAL_PWR_OVERDRIVESWITCHING_DISABLE()   (PWR->CR1 &= (uint32_t)(~PWR_CR1_ODSWEN))
 
#define __HAL_PWR_OVERDRIVESWITCHING_ENABLE()   (PWR->CR1 |= (uint32_t)PWR_CR1_ODSWEN)
 Macros to enable or disable the Over drive switching. More...
 
#define __HAL_PWR_UNDERDRIVE_DISABLE()   (PWR->CR1 &= (uint32_t)(~PWR_CR1_UDEN))
 
#define __HAL_PWR_UNDERDRIVE_ENABLE()   (PWR->CR1 |= (uint32_t)PWR_CR1_UDEN)
 Macros to enable or disable the Under drive mode. More...
 
#define IS_PWR_REGULATOR_UNDERDRIVE(REGULATOR)
 
#define IS_PWR_WAKEUP_PIN(__PIN__)
 
#define PWR_FLAG_ODRDY   PWR_CSR1_ODRDY
 
#define PWR_FLAG_ODSWRDY   PWR_CSR1_ODSWRDY
 
#define PWR_FLAG_UDRDY   PWR_CSR1_UDRDY
 
#define PWR_LOWPOWERREGULATOR_UNDERDRIVE_ON   ((uint32_t)(PWR_CR1_LPDS | PWR_CR1_LPUDS))
 
#define PWR_MAINREGULATOR_UNDERDRIVE_ON   PWR_CR1_MRUDS
 
#define PWR_WAKEUP_PIN1   PWR_CSR2_EWUP1
 
#define PWR_WAKEUP_PIN1_HIGH   PWR_CSR2_EWUP1
 
#define PWR_WAKEUP_PIN1_LOW   (uint32_t)((PWR_CR2_WUPP1<<6) | PWR_CSR2_EWUP1)
 
#define PWR_WAKEUP_PIN2   PWR_CSR2_EWUP2
 
#define PWR_WAKEUP_PIN2_HIGH   PWR_CSR2_EWUP2
 
#define PWR_WAKEUP_PIN2_LOW   (uint32_t)((PWR_CR2_WUPP2<<6) | PWR_CSR2_EWUP2)
 
#define PWR_WAKEUP_PIN3   PWR_CSR2_EWUP3
 
#define PWR_WAKEUP_PIN3_HIGH   PWR_CSR2_EWUP3
 
#define PWR_WAKEUP_PIN3_LOW   (uint32_t)((PWR_CR2_WUPP3<<6) | PWR_CSR2_EWUP3)
 
#define PWR_WAKEUP_PIN4   PWR_CSR2_EWUP4
 
#define PWR_WAKEUP_PIN4_HIGH   PWR_CSR2_EWUP4
 
#define PWR_WAKEUP_PIN4_LOW   (uint32_t)((PWR_CR2_WUPP4<<6) | PWR_CSR2_EWUP4)
 
#define PWR_WAKEUP_PIN5   PWR_CSR2_EWUP5
 
#define PWR_WAKEUP_PIN5_HIGH   PWR_CSR2_EWUP5
 
#define PWR_WAKEUP_PIN5_LOW   (uint32_t)((PWR_CR2_WUPP5<<6) | PWR_CSR2_EWUP5)
 
#define PWR_WAKEUP_PIN6   PWR_CSR2_EWUP6
 
#define PWR_WAKEUP_PIN6_HIGH   PWR_CSR2_EWUP6
 
#define PWR_WAKEUP_PIN6_LOW   (uint32_t)((PWR_CR2_WUPP6<<6) | PWR_CSR2_EWUP6)
 
#define PWR_WAKEUP_PIN_FLAG1   PWR_CSR2_WUPF1
 
#define PWR_WAKEUP_PIN_FLAG2   PWR_CSR2_WUPF2
 
#define PWR_WAKEUP_PIN_FLAG3   PWR_CSR2_WUPF3
 
#define PWR_WAKEUP_PIN_FLAG4   PWR_CSR2_WUPF4
 
#define PWR_WAKEUP_PIN_FLAG5   PWR_CSR2_WUPF5
 
#define PWR_WAKEUP_PIN_FLAG6   PWR_CSR2_WUPF6
 

Functions

HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling (uint32_t VoltageScaling)
 
HAL_StatusTypeDef HAL_PWREx_DisableBkUpReg (void)
 
void HAL_PWREx_DisableFlashPowerDown (void)
 
void HAL_PWREx_DisableLowRegulatorLowVoltage (void)
 
void HAL_PWREx_DisableMainRegulatorLowVoltage (void)
 
HAL_StatusTypeDef HAL_PWREx_DisableOverDrive (void)
 
HAL_StatusTypeDef HAL_PWREx_EnableBkUpReg (void)
 
void HAL_PWREx_EnableFlashPowerDown (void)
 
void HAL_PWREx_EnableLowRegulatorLowVoltage (void)
 
void HAL_PWREx_EnableMainRegulatorLowVoltage (void)
 
HAL_StatusTypeDef HAL_PWREx_EnableOverDrive (void)
 
HAL_StatusTypeDef HAL_PWREx_EnterUnderDriveSTOPMode (uint32_t Regulator, uint8_t STOPEntry)
 
uint32_t HAL_PWREx_GetVoltageRange (void)
 

Detailed Description

Header file of PWR HAL Extension module.

Author
MCD Application Team
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 stm32f7xx_hal_pwr_ex.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:02