Searched refs:PWR_CR1_VOS (Results 1 – 5 of 5) sorted by relevance
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_pwr_ex.c | 134 if (READ_BIT(PWR->CR1, PWR_CR1_VOS) == PWR_REGULATOR_VOLTAGE_SCALE2) in HAL_PWREx_GetVoltageRange() 148 return (PWR->CR1 & PWR_CR1_VOS); in HAL_PWREx_GetVoltageRange() 190 if (READ_BIT(PWR->CR1, PWR_CR1_VOS) == PWR_REGULATOR_VOLTAGE_SCALE2) in HAL_PWREx_ControlVoltageScaling() 196 MODIFY_REG(PWR->CR1, PWR_CR1_VOS, PWR_REGULATOR_VOLTAGE_SCALE1); in HAL_PWREx_ControlVoltageScaling() 219 if (READ_BIT(PWR->CR1, PWR_CR1_VOS) == PWR_REGULATOR_VOLTAGE_SCALE2) in HAL_PWREx_ControlVoltageScaling() 225 MODIFY_REG(PWR->CR1, PWR_CR1_VOS, PWR_REGULATOR_VOLTAGE_SCALE1); in HAL_PWREx_ControlVoltageScaling() 248 MODIFY_REG(PWR->CR1, PWR_CR1_VOS, PWR_REGULATOR_VOLTAGE_SCALE2); in HAL_PWREx_ControlVoltageScaling() 258 if (READ_BIT(PWR->CR1, PWR_CR1_VOS) != PWR_REGULATOR_VOLTAGE_SCALE1) in HAL_PWREx_ControlVoltageScaling() 261 MODIFY_REG(PWR->CR1, PWR_CR1_VOS, PWR_REGULATOR_VOLTAGE_SCALE1); in HAL_PWREx_ControlVoltageScaling() 277 if (READ_BIT(PWR->CR1, PWR_CR1_VOS) != PWR_REGULATOR_VOLTAGE_SCALE2) in HAL_PWREx_ControlVoltageScaling() [all …]
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_pwr_ex.c | 134 if (READ_BIT(PWR->CR1, PWR_CR1_VOS) == PWR_REGULATOR_VOLTAGE_SCALE2) in HAL_PWREx_GetVoltageRange() 148 return (PWR->CR1 & PWR_CR1_VOS); in HAL_PWREx_GetVoltageRange() 190 if (READ_BIT(PWR->CR1, PWR_CR1_VOS) == PWR_REGULATOR_VOLTAGE_SCALE2) in HAL_PWREx_ControlVoltageScaling() 196 MODIFY_REG(PWR->CR1, PWR_CR1_VOS, PWR_REGULATOR_VOLTAGE_SCALE1); in HAL_PWREx_ControlVoltageScaling() 219 if (READ_BIT(PWR->CR1, PWR_CR1_VOS) == PWR_REGULATOR_VOLTAGE_SCALE2) in HAL_PWREx_ControlVoltageScaling() 225 MODIFY_REG(PWR->CR1, PWR_CR1_VOS, PWR_REGULATOR_VOLTAGE_SCALE1); in HAL_PWREx_ControlVoltageScaling() 248 MODIFY_REG(PWR->CR1, PWR_CR1_VOS, PWR_REGULATOR_VOLTAGE_SCALE2); in HAL_PWREx_ControlVoltageScaling() 258 if (READ_BIT(PWR->CR1, PWR_CR1_VOS) != PWR_REGULATOR_VOLTAGE_SCALE1) in HAL_PWREx_ControlVoltageScaling() 261 MODIFY_REG(PWR->CR1, PWR_CR1_VOS, PWR_REGULATOR_VOLTAGE_SCALE1); in HAL_PWREx_ControlVoltageScaling() 277 if (READ_BIT(PWR->CR1, PWR_CR1_VOS) != PWR_REGULATOR_VOLTAGE_SCALE2) in HAL_PWREx_ControlVoltageScaling() [all …]
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_hal_pwr_ex.h | 689 … MODIFY_REG(PWR->CR1, PWR_CR1_VOS, (__REGULATOR__)); \ 691 … tmpreg = READ_BIT(PWR->CR1, PWR_CR1_VOS); \
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_hal_pwr_ex.h | 689 … MODIFY_REG(PWR->CR1, PWR_CR1_VOS, (__REGULATOR__)); \ 691 … tmpreg = READ_BIT(PWR->CR1, PWR_CR1_VOS); \
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/CMSIS/Device/ST/STM32L4xx/Include/ |
D | stm32l476xx.h | 9591 #define PWR_CR1_VOS PWR_CR1_VOS_Msk /*!< VOS[1:0] bits (… macro
|