/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_pwr_ex.c | 413 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling (uint32_t VoltageScaling) in HAL_PWREx_ControlVoltageScaling() argument 418 assert_param (IS_PWR_REGULATOR_VOLTAGE (VoltageScaling)); in HAL_PWREx_ControlVoltageScaling() 421 if ((PWR->CSR1 & PWR_CSR1_ACTVOS) == VoltageScaling) in HAL_PWREx_ControlVoltageScaling() 429 MODIFY_REG (PWR->SRDCR, PWR_SRDCR_VOS, VoltageScaling); in HAL_PWREx_ControlVoltageScaling() 432 if (VoltageScaling == PWR_REGULATOR_VOLTAGE_SCALE0) in HAL_PWREx_ControlVoltageScaling() 484 MODIFY_REG (PWR->D3CR, PWR_D3CR_VOS, VoltageScaling); in HAL_PWREx_ControlVoltageScaling() 488 MODIFY_REG(PWR->D3CR, PWR_D3CR_VOS, VoltageScaling); in HAL_PWREx_ControlVoltageScaling() 538 HAL_StatusTypeDef HAL_PWREx_ControlStopModeVoltageScaling (uint32_t VoltageScaling) in HAL_PWREx_ControlStopModeVoltageScaling() argument 541 assert_param (IS_PWR_STOP_MODE_REGULATOR_VOLTAGE (VoltageScaling)); in HAL_PWREx_ControlStopModeVoltageScaling() 544 MODIFY_REG (PWR->CR1, PWR_CR1_SVOS, VoltageScaling); in HAL_PWREx_ControlStopModeVoltageScaling()
|
D | stm32h7xx_hal.c | 520 void HAL_SYSCFG_VREFBUF_VoltageScalingConfig(uint32_t VoltageScaling) in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() argument 523 assert_param(IS_SYSCFG_VREFBUF_VOLTAGE_SCALE(VoltageScaling)); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() 525 MODIFY_REG(VREFBUF->CSR, VREFBUF_CSR_VRS, VoltageScaling); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig()
|
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_pwr_ex.c | 162 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling) in HAL_PWREx_ControlVoltageScaling() argument 167 assert_param(IS_PWR_VOLTAGE_SCALING_RANGE(VoltageScaling)); in HAL_PWREx_ControlVoltageScaling() 170 if ((PWR->VOSSR & PWR_VOSSR_ACTVOS) == (VoltageScaling<<10U)) in HAL_PWREx_ControlVoltageScaling() 177 MODIFY_REG(PWR->VOSCR, PWR_VOSCR_VOS, VoltageScaling); in HAL_PWREx_ControlVoltageScaling() 222 HAL_StatusTypeDef HAL_PWREx_ControlStopModeVoltageScaling(uint32_t VoltageScaling) in HAL_PWREx_ControlStopModeVoltageScaling() argument 225 assert_param(IS_PWR_STOP_MODE_REGULATOR_VOLTAGE(VoltageScaling)); in HAL_PWREx_ControlStopModeVoltageScaling() 228 MODIFY_REG(PWR->PMCR, PWR_PMCR_SVOS, VoltageScaling); in HAL_PWREx_ControlStopModeVoltageScaling()
|
D | stm32h5xx_hal.c | 574 void HAL_VREFBUF_VoltageScalingConfig(uint32_t VoltageScaling) in HAL_VREFBUF_VoltageScalingConfig() argument 577 assert_param(IS_VREFBUF_VOLTAGE_SCALE(VoltageScaling)); in HAL_VREFBUF_VoltageScalingConfig() 579 MODIFY_REG(VREFBUF->CSR, VREFBUF_CSR_VRS, VoltageScaling); in HAL_VREFBUF_VoltageScalingConfig()
|
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_pwr_ex.c | 232 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling) in HAL_PWREx_ControlVoltageScaling() argument 236 assert_param(IS_PWR_VOLTAGE_SCALING_RANGE(VoltageScaling)); in HAL_PWREx_ControlVoltageScaling() 242 __HAL_PWR_VOLTAGESCALING_CONFIG(VoltageScaling); in HAL_PWREx_ControlVoltageScaling() 288 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling) in HAL_PWREx_ControlVoltageScaling() argument 292 assert_param(IS_PWR_VOLTAGE_SCALING_RANGE(VoltageScaling)); in HAL_PWREx_ControlVoltageScaling() 315 __HAL_PWR_VOLTAGESCALING_CONFIG(VoltageScaling); in HAL_PWREx_ControlVoltageScaling()
|
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal.c | 645 void HAL_SYSCFG_VREFBUF_VoltageScalingConfig(uint32_t VoltageScaling) in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() argument 650 assert_param(IS_SYSCFG_VREFBUF_VOLTAGE_SCALE(VoltageScaling)); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() 652 LL_VREFBUF_SetVoltageScaling(VoltageScaling); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() 655 if (VoltageScaling == SYSCFG_VREFBUF_VOLTAGE_SCALE0) in HAL_SYSCFG_VREFBUF_VoltageScalingConfig()
|
D | stm32wbxx_hal_pwr_ex.c | 111 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling) in HAL_PWREx_ControlVoltageScaling() argument 115 assert_param(IS_PWR_VOLTAGE_SCALING_RANGE(VoltageScaling)); in HAL_PWREx_ControlVoltageScaling() 118 if (VoltageScaling == PWR_REGULATOR_VOLTAGE_SCALE1) in HAL_PWREx_ControlVoltageScaling()
|
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal.c | 582 void HAL_SYSCFG_VREFBUF_VoltageScalingConfig(uint32_t VoltageScaling) in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() argument 587 assert_param(IS_SYSCFG_VREFBUF_VOLTAGE_SCALE(VoltageScaling)); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() 589 MODIFY_REG(VREFBUF->CSR, VREFBUF_CSR_VRS, VoltageScaling); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() 592 if (VoltageScaling == SYSCFG_VREFBUF_VOLTAGE_SCALE0) in HAL_SYSCFG_VREFBUF_VoltageScalingConfig()
|
D | stm32l5xx_hal_pwr_ex.c | 131 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling) in HAL_PWREx_ControlVoltageScaling() argument 135 assert_param(IS_PWR_VOLTAGE_SCALING_RANGE(VoltageScaling)); in HAL_PWREx_ControlVoltageScaling() 151 if (vos_old == VoltageScaling) in HAL_PWREx_ControlVoltageScaling() 156 MODIFY_REG(PWR->CR1, PWR_CR1_VOS, VoltageScaling); in HAL_PWREx_ControlVoltageScaling()
|
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal.c | 657 void HAL_SYSCFG_VREFBUF_VoltageScalingConfig(uint32_t VoltageScaling) in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() argument 662 assert_param(IS_SYSCFG_VREFBUF_VOLTAGE_SCALE(VoltageScaling)); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() 664 LL_VREFBUF_SetVoltageScaling(VoltageScaling); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() 667 if (VoltageScaling == SYSCFG_VREFBUF_VOLTAGE_SCALE0) in HAL_SYSCFG_VREFBUF_VoltageScalingConfig()
|
D | stm32wlxx_hal_pwr_ex.c | 108 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling) in HAL_PWREx_ControlVoltageScaling() argument 112 assert_param(IS_PWR_VOLTAGE_SCALING_RANGE(VoltageScaling)); in HAL_PWREx_ControlVoltageScaling() 115 if (VoltageScaling == PWR_REGULATOR_VOLTAGE_SCALE1) in HAL_PWREx_ControlVoltageScaling()
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_pwr_ex.c | 340 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling) in HAL_PWREx_ControlVoltageScaling() argument 346 assert_param(IS_PWR_VOLTAGE_SCALING_RANGE(VoltageScaling)); in HAL_PWREx_ControlVoltageScaling() 352 if (vos_old == VoltageScaling) in HAL_PWREx_ControlVoltageScaling() 355 if (VoltageScaling > PWR_REGULATOR_VOLTAGE_SCALE3) in HAL_PWREx_ControlVoltageScaling() 369 if (VoltageScaling > PWR_REGULATOR_VOLTAGE_SCALE3) in HAL_PWREx_ControlVoltageScaling() 371 MODIFY_REG(PWR->VOSR, (PWR_VOSR_VOS | PWR_VOSR_BOOSTEN), (VoltageScaling | PWR_VOSR_BOOSTEN)); in HAL_PWREx_ControlVoltageScaling() 375 MODIFY_REG(PWR->VOSR, (PWR_VOSR_VOS | PWR_VOSR_BOOSTEN), VoltageScaling); in HAL_PWREx_ControlVoltageScaling()
|
D | stm32u5xx_hal.c | 560 void HAL_SYSCFG_VREFBUF_VoltageScalingConfig(uint32_t VoltageScaling) in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() argument 563 assert_param(IS_SYSCFG_VREFBUF_VOLTAGE_SCALE(VoltageScaling)); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() 565 MODIFY_REG(VREFBUF->CSR, VREFBUF_CSR_VRS, VoltageScaling); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig()
|
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_pwr_ex.c | 215 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling) in HAL_PWREx_ControlVoltageScaling() argument 220 assert_param(IS_PWR_VOLTAGE_SCALING_RANGE(VoltageScaling)); in HAL_PWREx_ControlVoltageScaling() 226 if (vos_old == VoltageScaling) in HAL_PWREx_ControlVoltageScaling() 232 MODIFY_REG(PWR->VOSR, PWR_VOSR_VOS, VoltageScaling); in HAL_PWREx_ControlVoltageScaling()
|
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_pwr_ex.c | 762 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling) in HAL_PWREx_ControlVoltageScaling() argument 766 assert_param(IS_PWR_VOLTAGE_SCALING_RANGE(VoltageScaling)); in HAL_PWREx_ControlVoltageScaling() 769 MODIFY_REG(PWR->CR1, PWR_CR1_VOS, VoltageScaling); in HAL_PWREx_ControlVoltageScaling() 772 if (VoltageScaling == PWR_REGULATOR_VOLTAGE_SCALE1) in HAL_PWREx_ControlVoltageScaling()
|
D | stm32g0xx_hal.c | 571 void HAL_SYSCFG_VREFBUF_VoltageScalingConfig(uint32_t VoltageScaling) in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() argument 574 assert_param(IS_SYSCFG_VREFBUF_VOLTAGE_SCALE(VoltageScaling)); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() 576 MODIFY_REG(VREFBUF->CSR, VREFBUF_CSR_VRS, VoltageScaling); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig()
|
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_pwr_ex.c | 163 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling) in HAL_PWREx_ControlVoltageScaling() argument 167 assert_param(IS_PWR_VOLTAGE_SCALING_RANGE(VoltageScaling)); in HAL_PWREx_ControlVoltageScaling() 170 if (VoltageScaling == PWR_REGULATOR_VOLTAGE_SCALE1_BOOST) in HAL_PWREx_ControlVoltageScaling() 199 else if (VoltageScaling == PWR_REGULATOR_VOLTAGE_SCALE1) in HAL_PWREx_ControlVoltageScaling() 239 if (VoltageScaling == PWR_REGULATOR_VOLTAGE_SCALE1) in HAL_PWREx_ControlVoltageScaling()
|
D | stm32l4xx_hal.c | 657 void HAL_SYSCFG_VREFBUF_VoltageScalingConfig(uint32_t VoltageScaling) in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() argument 660 assert_param(IS_SYSCFG_VREFBUF_VOLTAGE_SCALE(VoltageScaling)); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() 662 MODIFY_REG(VREFBUF->CSR, VREFBUF_CSR_VRS, VoltageScaling); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig()
|
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_pwr_ex.c | 476 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling) in HAL_PWREx_ControlVoltageScaling() argument 480 assert_param(IS_PWR_REGULATOR_VOLTAGE(VoltageScaling)); in HAL_PWREx_ControlVoltageScaling() 503 __HAL_PWR_VOLTAGESCALING_CONFIG(VoltageScaling); in HAL_PWREx_ControlVoltageScaling()
|
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_pwr_ex.c | 153 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling) in HAL_PWREx_ControlVoltageScaling() argument 157 assert_param(IS_PWR_VOLTAGE_SCALING_RANGE(VoltageScaling)); in HAL_PWREx_ControlVoltageScaling() 159 if (VoltageScaling == PWR_REGULATOR_VOLTAGE_SCALE1_BOOST) in HAL_PWREx_ControlVoltageScaling() 188 else if (VoltageScaling == PWR_REGULATOR_VOLTAGE_SCALE1) in HAL_PWREx_ControlVoltageScaling()
|
D | stm32g4xx_hal.c | 628 void HAL_SYSCFG_VREFBUF_VoltageScalingConfig(uint32_t VoltageScaling) in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() argument 631 assert_param(IS_SYSCFG_VREFBUF_VOLTAGE_SCALE(VoltageScaling)); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() 633 MODIFY_REG(VREFBUF->CSR, VREFBUF_CSR_VRS, VoltageScaling); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig()
|
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/include/ |
D | stm32h7xx_ll_pwr.h | 578 __STATIC_INLINE void LL_PWR_SetStopModeRegulVoltageScaling(uint32_t VoltageScaling) in LL_PWR_SetStopModeRegulVoltageScaling() argument 580 MODIFY_REG(PWR->CR1, PWR_CR1_SVOS, VoltageScaling); in LL_PWR_SetStopModeRegulVoltageScaling() 1575 __STATIC_INLINE void LL_PWR_SetRegulVoltageScaling(uint32_t VoltageScaling) in LL_PWR_SetRegulVoltageScaling() argument 1578 MODIFY_REG(PWR->D3CR, PWR_D3CR_VOS, VoltageScaling); in LL_PWR_SetRegulVoltageScaling() 1580 MODIFY_REG(PWR->SRDCR, PWR_SRDCR_VOS, VoltageScaling); in LL_PWR_SetRegulVoltageScaling()
|
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_hal.c | 648 void HAL_SYSCFG_VREFBUF_VoltageScalingConfig(uint32_t VoltageScaling) in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() argument 651 assert_param(IS_SYSCFG_VREFBUF_VOLTAGE_SCALE(VoltageScaling)); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig() 653 MODIFY_REG(VREFBUF->CSR, VREFBUF_CSR_VRS, VoltageScaling); in HAL_SYSCFG_VREFBUF_VoltageScalingConfig()
|
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/include/ |
D | stm32h5xx_ll_pwr.h | 333 __STATIC_INLINE void LL_PWR_SetStopModeRegulVoltageScaling(uint32_t VoltageScaling) in LL_PWR_SetStopModeRegulVoltageScaling() argument 335 MODIFY_REG(PWR->PMCR, PWR_PMCR_SVOS, VoltageScaling); in LL_PWR_SetStopModeRegulVoltageScaling() 638 __STATIC_INLINE void LL_PWR_SetRegulVoltageScaling(uint32_t VoltageScaling) in LL_PWR_SetRegulVoltageScaling() argument 640 MODIFY_REG(PWR->VOSCR, PWR_VOSCR_VOS, VoltageScaling); in LL_PWR_SetRegulVoltageScaling()
|
D | stm32h5xx_hal_pwr_ex.h | 455 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling); 457 HAL_StatusTypeDef HAL_PWREx_ControlStopModeVoltageScaling(uint32_t VoltageScaling);
|