Home
last modified time | relevance | path

Searched refs:VoltageScaling (Results 1 – 25 of 58) sorted by relevance

123

/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_pwr_ex.c413 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()
Dstm32h7xx_hal.c520 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/
Dstm32h5xx_hal_pwr_ex.c162 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()
Dstm32h5xx_hal.c574 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/
Dstm32f4xx_hal_pwr_ex.c232 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/
Dstm32wbxx_hal.c645 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()
Dstm32wbxx_hal_pwr_ex.c111 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/
Dstm32l5xx_hal.c582 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()
Dstm32l5xx_hal_pwr_ex.c131 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/
Dstm32wlxx_hal.c657 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()
Dstm32wlxx_hal_pwr_ex.c108 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/
Dstm32u5xx_hal_pwr_ex.c340 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()
Dstm32u5xx_hal.c560 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/
Dstm32wbaxx_hal_pwr_ex.c215 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/
Dstm32g0xx_hal_pwr_ex.c762 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()
Dstm32g0xx_hal.c571 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/
Dstm32l4xx_hal_pwr_ex.c163 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()
Dstm32l4xx_hal.c657 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/
Dstm32f7xx_hal_pwr_ex.c476 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/
Dstm32g4xx_hal_pwr_ex.c153 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()
Dstm32g4xx_hal.c628 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/
Dstm32h7xx_ll_pwr.h578 __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/
Dstm32mp1xx_hal.c648 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/
Dstm32h5xx_ll_pwr.h333 __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()
Dstm32h5xx_hal_pwr_ex.h455 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling);
457 HAL_StatusTypeDef HAL_PWREx_ControlStopModeVoltageScaling(uint32_t VoltageScaling);

123