|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Header file of PWR HAL Extension module. More...
#include "stm32h7xx_hal_def.h"Go to the source code of this file.
Classes | |
| struct | PWREx_AVDTypeDef |
| PWREx AVD configuration structure definition. More... | |
| struct | PWREx_WakeupPinTypeDef |
| PWREx Wakeup pin configuration structure definition. More... | |
Macros | |
| #define | PWR_WAKEUP_PIN6 PWR_WKUPEPR_WKUPEN6 |
| #define | PWR_WAKEUP_PIN4 PWR_WKUPEPR_WKUPEN4 |
| #define | PWR_WAKEUP_PIN2 PWR_WKUPEPR_WKUPEN2 |
| #define | PWR_WAKEUP_PIN1 PWR_WKUPEPR_WKUPEN1 |
| #define | PWR_WAKEUP_PIN6_HIGH PWR_WKUPEPR_WKUPEN6 |
| #define | PWR_WAKEUP_PIN4_HIGH PWR_WKUPEPR_WKUPEN4 |
| #define | PWR_WAKEUP_PIN2_HIGH PWR_WKUPEPR_WKUPEN2 |
| #define | PWR_WAKEUP_PIN1_HIGH PWR_WKUPEPR_WKUPEN1 |
| #define | PWR_WAKEUP_PIN6_LOW (PWR_WKUPEPR_WKUPP6 | PWR_WKUPEPR_WKUPEN6) |
| #define | PWR_WAKEUP_PIN4_LOW (PWR_WKUPEPR_WKUPP4 | PWR_WKUPEPR_WKUPEN4) |
| #define | PWR_WAKEUP_PIN2_LOW (PWR_WKUPEPR_WKUPP2 | PWR_WKUPEPR_WKUPEN2) |
| #define | PWR_WAKEUP_PIN1_LOW (PWR_WKUPEPR_WKUPP1 | PWR_WKUPEPR_WKUPEN1) |
| #define | PWR_PIN_POLARITY_HIGH (0x00000000U) |
| #define | PWR_PIN_POLARITY_LOW (0x00000001U) |
| #define | PWR_PIN_NO_PULL (0x00000000U) |
| #define | PWR_PIN_PULL_UP (0x00000001U) |
| #define | PWR_PIN_PULL_DOWN (0x00000002U) |
| #define | PWR_WAKEUP_FLAG1 PWR_WKUPFR_WKUPF1 |
| Wakeup flag on PA0. | |
| #define | PWR_WAKEUP_FLAG2 PWR_WKUPFR_WKUPF2 |
| Wakeup flag on PA2. | |
| #define | PWR_WAKEUP_FLAG4 PWR_WKUPFR_WKUPF4 |
| Wakeup flag on PC13. | |
| #define | PWR_WAKEUP_FLAG6 PWR_WKUPFR_WKUPF6 |
| Wakeup flag on PC1. | |
| #define | PWR_WAKEUP_FLAG_ALL |
| #define | PWR_D1_DOMAIN (0x00000000U) |
| #define | PWR_D3_DOMAIN (0x00000002U) |
| #define | PWR_CPU_FLAGS (0x00000000U) |
| #define | PWR_D3_DOMAIN_STOP (0x00000000U) |
| #define | PWR_D3_DOMAIN_RUN (0x00000800U) |
| #define | PWR_LDO_SUPPLY PWR_CR3_LDOEN |
| Core domains are supplied from the LDO. | |
| #define | PWR_EXTERNAL_SOURCE_SUPPLY PWR_CR3_BYPASS |
| The SMPS disabled and the LDO Bypass. | |
| #define | PWR_SUPPLY_CONFIG_MASK (PWR_CR3_SCUEN | PWR_CR3_LDOEN | PWR_CR3_BYPASS) |
| #define | PWR_AVDLEVEL_0 PWR_CR1_ALS_LEV0 |
| Analog voltage detector level 0 selection : 1V7. | |
| #define | PWR_AVDLEVEL_1 PWR_CR1_ALS_LEV1 |
| Analog voltage detector level 1 selection : 2V1. | |
| #define | PWR_AVDLEVEL_2 PWR_CR1_ALS_LEV2 |
| Analog voltage detector level 2 selection : 2V5. | |
| #define | PWR_AVDLEVEL_3 PWR_CR1_ALS_LEV3 |
| Analog voltage detector level 3 selection : 2V8. | |
| #define | PWR_AVD_MODE_NORMAL (0x00000000U) |
| Basic mode is used. | |
| #define | PWR_AVD_MODE_IT_RISING (0x00010001U) |
| External Interrupt Mode with Rising edge trigger detection. | |
| #define | PWR_AVD_MODE_IT_FALLING (0x00010002U) |
| External Interrupt Mode with Falling edge trigger detection. | |
| #define | PWR_AVD_MODE_IT_RISING_FALLING (0x00010003U) |
| External Interrupt Mode with Rising/Falling edge trigger detection. | |
| #define | PWR_AVD_MODE_EVENT_RISING (0x00020001U) |
| Event Mode with Rising edge trigger detection. | |
| #define | PWR_AVD_MODE_EVENT_FALLING (0x00020002U) |
| Event Mode with Falling edge trigger detection. | |
| #define | PWR_AVD_MODE_EVENT_RISING_FALLING (0x00020003U) |
| Event Mode with Rising/Falling edge trigger detection. | |
| #define | PWR_REGULATOR_SVOS_SCALE5 (PWR_CR1_SVOS_0) |
| #define | PWR_REGULATOR_SVOS_SCALE4 (PWR_CR1_SVOS_1) |
| #define | PWR_REGULATOR_SVOS_SCALE3 (PWR_CR1_SVOS_0 | PWR_CR1_SVOS_1) |
| #define | PWR_BATTERY_CHARGING_RESISTOR_5 (0x00000000U) |
| VBAT charging through a 5 kOhms resistor. | |
| #define | PWR_BATTERY_CHARGING_RESISTOR_1_5 PWR_CR3_VBRS |
| VBAT charging through a 1.5 kOhms resistor. | |
| #define | PWR_VBAT_BETWEEN_HIGH_LOW_THRESHOLD (0x00000000U) |
| #define | PWR_VBAT_BELOW_LOW_THRESHOLD PWR_CR2_VBATL |
| #define | PWR_VBAT_ABOVE_HIGH_THRESHOLD PWR_CR2_VBATH |
| #define | PWR_TEMP_BETWEEN_HIGH_LOW_THRESHOLD (0x00000000U) |
| #define | PWR_TEMP_BELOW_LOW_THRESHOLD PWR_CR2_TEMPL |
| #define | PWR_TEMP_ABOVE_HIGH_THRESHOLD PWR_CR2_TEMPH |
| #define | PWR_EXTI_LINE_AVD EXTI_IMR1_IM16 |
| External interrupt line 16 Connected to the AVD EXTI Line. | |
| #define | __HAL_PWR_AVD_EXTI_ENABLE_IT() |
| Enable the AVD EXTI Line 16. | |
| #define | __HAL_PWR_AVD_EXTI_DISABLE_IT() |
| Disable the AVD EXTI Line 16. | |
| #define | __HAL_PWR_AVD_EXTI_ENABLE_EVENT() |
| Enable event on AVD EXTI Line 16. | |
| #define | __HAL_PWR_AVD_EXTI_DISABLE_EVENT() |
| Disable event on AVD EXTI Line 16. | |
| #define | __HAL_PWR_AVD_EXTI_ENABLE_RISING_EDGE() |
| Enable the AVD Extended Interrupt Rising Trigger. | |
| #define | __HAL_PWR_AVD_EXTI_DISABLE_RISING_EDGE() |
| Disable the AVD Extended Interrupt Rising Trigger. | |
| #define | __HAL_PWR_AVD_EXTI_ENABLE_FALLING_EDGE() |
| Enable the AVD Extended Interrupt Falling Trigger. | |
| #define | __HAL_PWR_AVD_EXTI_DISABLE_FALLING_EDGE() |
| Disable the AVD Extended Interrupt Falling Trigger. | |
| #define | __HAL_PWR_AVD_EXTI_ENABLE_RISING_FALLING_EDGE() |
| Enable the AVD Extended Interrupt Rising and Falling Trigger. | |
| #define | __HAL_PWR_AVD_EXTI_DISABLE_RISING_FALLING_EDGE() |
| Disable the AVD Extended Interrupt Rising & Falling Trigger. | |
| #define | __HAL_PWR_AVD_EXTI_GET_FLAG() |
| Check whether the specified AVD EXTI interrupt flag is set or not. | |
| #define | __HAL_PWR_AVD_EXTI_CLEAR_FLAG() |
| Clear the AVD EXTI flag. | |
| #define | __HAL_PWR_AVD_EXTI_GENERATE_SWIT() |
| Generates a Software interrupt on AVD EXTI line. | |
| #define | IS_PWR_SUPPLY(PWR_SOURCE) |
| #define | IS_PWR_STOP_MODE_REGULATOR_VOLTAGE(VOLTAGE) |
| #define | IS_PWR_DOMAIN(DOMAIN) |
| #define | IS_D3_STATE(STATE) |
| #define | IS_PWR_WAKEUP_PIN(PIN) |
| #define | IS_PWR_WAKEUP_PIN_POLARITY(POLARITY) |
| #define | IS_PWR_WAKEUP_PIN_PULL(PULL) |
| #define | IS_PWR_WAKEUP_FLAG(FLAG) |
| #define | IS_PWR_AVD_LEVEL(LEVEL) |
| #define | IS_PWR_AVD_MODE(MODE) |
| #define | IS_PWR_BATTERY_RESISTOR_SELECT(RESISTOR) |
| #define | IS_PWR_D1_CPU(CPU) |
Header file of PWR HAL Extension module.
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 stm32h7xx_hal_pwr_ex.h.