Home
last modified time | relevance | path

Searched refs:CR4 (Results 1 – 25 of 120) sorted by relevance

12345

/hal_stm32-latest/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_ll_pwr.h689 SET_BIT(PWR->CR4, PWR_CR4_SMPSLPEN); in LL_PWR_EnableSMPSLowPowerMode()
699 CLEAR_BIT(PWR->CR4, PWR_CR4_SMPSLPEN); in LL_PWR_DisableSMPSLowPowerMode()
709 return ((READ_BIT(PWR->CR4, PWR_CR4_SMPSLPEN) == (PWR_CR4_SMPSLPEN)) ? 1UL : 0UL); in LL_PWR_IsEnabledSMPSLowPowerMode()
719 SET_BIT(PWR->CR4, PWR_CR4_SMPSFSTEN); in LL_PWR_EnableSMPSFastStart()
729 CLEAR_BIT(PWR->CR4, PWR_CR4_SMPSFSTEN); in LL_PWR_DisableSMPSFastStart()
739 return ((READ_BIT(PWR->CR4, PWR_CR4_SMPSFSTEN) == (PWR_CR4_SMPSFSTEN)) ? 1UL : 0UL); in LL_PWR_IsEnabledSMPSFastStart()
749 SET_BIT(PWR->CR4, PWR_CR4_SMPSBYP); in LL_PWR_EnableSMPSBypassMode()
759 CLEAR_BIT(PWR->CR4, PWR_CR4_SMPSBYP); in LL_PWR_DisableSMPSBypassMode()
769 return ((READ_BIT(PWR->CR4, PWR_CR4_SMPSBYP) == (PWR_CR4_SMPSBYP)) ? 1UL : 0UL); in LL_PWR_IsEnabledSMPSBypassMode()
779 SET_BIT(PWR->CR4, PWR_CR4_EXTSMPSEN); in LL_PWR_EnableExtSMPS()
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_pwr_ex.c145 if (READ_BIT(PWR->CR4, PWR_CR4_SMPSLPEN) == PWR_CR4_SMPSLPEN) in HAL_PWREx_ControlVoltageScaling()
189 MODIFY_REG(PWR->CR4, PWR_CR4_VBRS, ResistorSelection); in HAL_PWREx_EnableBatteryCharging()
192 SET_BIT(PWR->CR4, PWR_CR4_VBE); in HAL_PWREx_EnableBatteryCharging()
202 CLEAR_BIT(PWR->CR4, PWR_CR4_VBE); in HAL_PWREx_DisableBatteryCharging()
1285 MODIFY_REG(PWR->CR4, (PWR_CR4_SMPSBYP | PWR_CR4_SMPSLPEN), 0U); in HAL_PWREx_SMPS_SetMode()
1307 MODIFY_REG(PWR->CR4, (PWR_CR4_SMPSBYP | PWR_CR4_SMPSLPEN), PWR_CR4_SMPSLPEN); in HAL_PWREx_SMPS_SetMode()
1372 SET_BIT(PWR->CR4, PWR_CR4_SMPSFSTEN); in HAL_PWREx_SMPS_EnableFastStart()
1382 CLEAR_BIT(PWR->CR4, PWR_CR4_SMPSFSTEN); in HAL_PWREx_SMPS_DisableFastStart()
1392 CLEAR_BIT(PWR->CR4, PWR_CR4_SMPSBYP); in HAL_PWREx_SMPS_DisableBypassMode()
1402 SET_BIT(PWR->CR4, PWR_CR4_SMPSBYP); in HAL_PWREx_SMPS_EnableBypassMode()
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_ll_pwr.h963 SET_BIT(PWR->CR4, PWR_CR4_EXT_SMPS_ON); in LL_PWR_EnableExtSMPS_0V95()
975 CLEAR_BIT(PWR->CR4, PWR_CR4_EXT_SMPS_ON); in LL_PWR_DisableExtSMPS_0V95()
987 return ((READ_BIT(PWR->CR4, PWR_CR4_EXT_SMPS_ON) == (PWR_CR4_EXT_SMPS_ON)) ? 1UL : 0UL); in LL_PWR_IsEnabledExtSMPS_0V95()
1001 MODIFY_REG(PWR->CR4, PWR_CR4_VBRS, Resistor); in LL_PWR_SetBattChargResistor()
1013 return (uint32_t)(READ_BIT(PWR->CR4, PWR_CR4_VBRS)); in LL_PWR_GetBattChargResistor()
1023 SET_BIT(PWR->CR4, PWR_CR4_VBE); in LL_PWR_EnableBatteryCharging()
1033 CLEAR_BIT(PWR->CR4, PWR_CR4_VBE); in LL_PWR_DisableBatteryCharging()
1043 return ((READ_BIT(PWR->CR4, PWR_CR4_VBE) == (PWR_CR4_VBE)) ? 1UL : 0UL); in LL_PWR_IsEnabledBatteryCharging()
1063 SET_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow()
1083 CLEAR_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh()
[all …]
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/include/
Dstm32wlxx_ll_pwr.h856 MODIFY_REG(PWR->CR4, PWR_CR4_VBRS, Resistor); in LL_PWR_SetBattChargResistor()
868 return (uint32_t)(READ_BIT(PWR->CR4, PWR_CR4_VBRS)); in LL_PWR_GetBattChargResistor()
878 SET_BIT(PWR->CR4, PWR_CR4_VBE); in LL_PWR_EnableBatteryCharging()
888 CLEAR_BIT(PWR->CR4, PWR_CR4_VBE); in LL_PWR_DisableBatteryCharging()
898 return ((READ_BIT(PWR->CR4, PWR_CR4_VBE) == (PWR_CR4_VBE)) ? 1UL : 0UL); in LL_PWR_IsEnabledBatteryCharging()
914 SET_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow()
930 CLEAR_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh()
946 return ((READ_BIT(PWR->CR4, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsWakeUpPinPolarityLow()
1274 MODIFY_REG(PWR->CR4, PWR_CR4_WRFBUSYP, RadioBusyPolarity); in LL_PWR_SetRadioBusyPolarity()
1286 return (uint32_t)(READ_BIT(PWR->CR4, PWR_CR4_WRFBUSYP)); in LL_PWR_GetRadioBusyPolarity()
[all …]
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_ll_pwr.h932 MODIFY_REG(PWR->CR4, PWR_CR4_VBRS, Resistor); in LL_PWR_SetBattChargResistor()
944 return (uint32_t)(READ_BIT(PWR->CR4, PWR_CR4_VBRS)); in LL_PWR_GetBattChargResistor()
954 SET_BIT(PWR->CR4, PWR_CR4_VBE); in LL_PWR_EnableBatteryCharging()
964 CLEAR_BIT(PWR->CR4, PWR_CR4_VBE); in LL_PWR_DisableBatteryCharging()
974 return ((READ_BIT(PWR->CR4, PWR_CR4_VBE) == (PWR_CR4_VBE)) ? 1UL : 0UL); in LL_PWR_IsEnabledBatteryCharging()
996 SET_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow()
1018 CLEAR_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh()
1040 return ((READ_BIT(PWR->CR4, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsWakeUpPinPolarityLow()
1617 SET_BIT(PWR->CR4, PWR_CR4_C2BOOT); in LL_PWR_EnableBootC2()
1628 CLEAR_BIT(PWR->CR4, PWR_CR4_C2BOOT); in LL_PWR_DisableBootC2()
[all …]
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/include/
Dstm32u0xx_ll_pwr.h877 SET_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow()
899 CLEAR_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh()
921 return ((READ_BIT(PWR->CR4, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsWakeUpPinPolarityLow()
931 SET_BIT(PWR->CR4, PWR_CR4_VBE); in LL_PWR_EnableBatteryCharging()
941 CLEAR_BIT(PWR->CR4, PWR_CR4_VBE); in LL_PWR_DisableBatteryCharging()
951 return ((READ_BIT(PWR->CR4, PWR_CR4_VBE) == (PWR_CR4_VBE)) ? 1UL : 0UL); in LL_PWR_IsEnabledBatteryCharging()
964 MODIFY_REG(PWR->CR4, PWR_CR4_VBRS, Resistor); in LL_PWR_SetBattChargResistor()
976 return (uint32_t)(READ_BIT(PWR->CR4, PWR_CR4_VBRS)); in LL_PWR_GetBattChargResistor()
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_ll_pwr.h898 MODIFY_REG(PWR->CR4, PWR_CR4_VBRS, Resistor); in LL_PWR_SetBattChargResistor()
910 return (uint32_t)(READ_BIT(PWR->CR4, PWR_CR4_VBRS)); in LL_PWR_GetBattChargResistor()
920 SET_BIT(PWR->CR4, PWR_CR4_VBE); in LL_PWR_EnableBatteryCharging()
930 CLEAR_BIT(PWR->CR4, PWR_CR4_VBE); in LL_PWR_DisableBatteryCharging()
940 return ((READ_BIT(PWR->CR4, PWR_CR4_VBE) == (PWR_CR4_VBE)) ? 1UL : 0UL); in LL_PWR_IsEnabledBatteryCharging()
963 SET_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow()
986 CLEAR_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh()
1009 return ((READ_BIT(PWR->CR4, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsWakeUpPinPolarityLow()
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_ll_pwr.h894 MODIFY_REG(PWR->CR4, PWR_CR4_VBRS, Resistor); in LL_PWR_SetBattChargResistor()
906 return (uint32_t)(READ_BIT(PWR->CR4, PWR_CR4_VBRS)); in LL_PWR_GetBattChargResistor()
916 SET_BIT(PWR->CR4, PWR_CR4_VBE); in LL_PWR_EnableBatteryCharging()
926 CLEAR_BIT(PWR->CR4, PWR_CR4_VBE); in LL_PWR_DisableBatteryCharging()
937 temp = READ_BIT(PWR->CR4, PWR_CR4_VBE); in LL_PWR_IsEnabledBatteryCharging()
959 SET_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow()
979 CLEAR_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh()
1000 temp = READ_BIT(PWR->CR4, WakeUpPin); in LL_PWR_IsWakeUpPinPolarityLow()
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/include/
Dstm32n6xx_ll_pwr.h429 SET_BIT(PWR->CR4, PWR_CR4_TCMRBSEN); in LL_PWR_EnableTCMSBRetention()
439 CLEAR_BIT(PWR->CR4, PWR_CR4_TCMRBSEN); in LL_PWR_DisableTCMSBRetention()
449 return ((READ_BIT(PWR->CR4, PWR_CR4_TCMRBSEN) == (PWR_CR4_TCMRBSEN)) ? 1UL : 0UL); in LL_PWR_IsEnabledTCMSBRetention()
464 SET_BIT(PWR->CR4, PWR_CR4_TCMFLXRBSEN); in LL_PWR_EnableTCMFLXSBRetention()
474 CLEAR_BIT(PWR->CR4, PWR_CR4_TCMFLXRBSEN); in LL_PWR_DisableTCMFLXSBRetention()
484 return ((READ_BIT(PWR->CR4, PWR_CR4_TCMFLXRBSEN) == (PWR_CR4_TCMFLXRBSEN)) ? 1UL : 0UL); in LL_PWR_IsEnabledTCMFLXSBRetention()
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_pwr_ex.c287 MODIFY_REG(PWR->CR4, PWR_CR4_VBRS, ResistorSelection); in HAL_PWREx_EnableBatteryCharging()
290 SET_BIT(PWR->CR4, PWR_CR4_VBE); in HAL_PWREx_EnableBatteryCharging()
300 CLEAR_BIT(PWR->CR4, PWR_CR4_VBE); in HAL_PWREx_DisableBatteryCharging()
810 SET_BIT(PWR->CR4, PWR_CR4_EXT_SMPS_ON); in HAL_PWREx_EnableExtSMPS_0V95()
822 CLEAR_BIT(PWR->CR4, PWR_CR4_EXT_SMPS_ON); in HAL_PWREx_DisableExtSMPS_0V95()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_pwr_ex.c1776 CLEAR_BIT(PWR->CR4, dummy); in HAL_PWREx_EnableRAMsContentStopRetention()
1811 CLEAR_BIT(PWR->CR4, (dummy << PWR_CR4_SRAM3PDS9_Pos)); in HAL_PWREx_EnableRAMsContentStopRetention()
1969 CLEAR_BIT(PWR->CR4, (dummy << PWR_CR4_SRAM5PDS1_Pos)); in HAL_PWREx_EnableRAMsContentStopRetention()
2026 SET_BIT(PWR->CR4, dummy); in HAL_PWREx_DisableRAMsContentStopRetention()
2061 SET_BIT(PWR->CR4, (dummy << PWR_CR4_SRAM3PDS9_Pos)); in HAL_PWREx_DisableRAMsContentStopRetention()
2219 SET_BIT(PWR->CR4, (dummy << PWR_CR4_SRAM5PDS1_Pos)); in HAL_PWREx_DisableRAMsContentStopRetention()
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_pwr_ex.c167 MODIFY_REG(PWR->CR4, PWR_CR4_VBRS, ResistorSelection); in HAL_PWREx_EnableBatteryCharging()
170 SET_BIT(PWR->CR4, PWR_CR4_VBE); in HAL_PWREx_EnableBatteryCharging()
179 CLEAR_BIT(PWR->CR4, PWR_CR4_VBE); in HAL_PWREx_DisableBatteryCharging()
980 …MODIFY_REG(PWR->CR4, (PWR_C2CR3_EWUP & WakeUpPinPolarity), (WakeUpPinPolarity >> PWR_WUP_POLARITY_… in HAL_PWREx_EnableWakeUpPin()
Dstm32wbxx_hal_pwr.c108 LL_PWR_WriteReg(CR4, PWR_CR4_RESET_VALUE); in HAL_PWR_DeInit()
450 …MODIFY_REG(PWR->CR4, (PWR_CR3_EWUP & WakeUpPinPolarity), (WakeUpPinPolarity >> PWR_WUP_POLARITY_SH… in HAL_PWR_EnableWakeUpPin()
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_pwr_ex.c518 SET_BIT(PWR->CR4, PWR_CR4_TCMRBSEN); in HAL_PWREx_EnableTCMRetention()
527 CLEAR_BIT(PWR->CR4, PWR_CR4_TCMRBSEN); in HAL_PWREx_DisableTCMRetention()
536 SET_BIT(PWR->CR4, PWR_CR4_TCMFLXRBSEN); in HAL_PWREx_EnableTCMFLXRetention()
545 CLEAR_BIT(PWR->CR4, PWR_CR4_TCMFLXRBSEN); in HAL_PWREx_DisableTCMFLXRetention()
Dstm32n6xx_ll_pwr.c60 WRITE_REG(PWR->CR4, 0x00000000U); in LL_PWR_DeInit()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_pwr.h947 …MODIFY_REG(PWR->CR4, LL_PWR_SRAM1_STOP_4_12_RETENTION, ((~SRAM1PageRetention) & LL_PWR_SRAM1_STOP_… in LL_PWR_SetSRAM1StopRetention_4_12()
997 …return ((~(READ_BIT(PWR->CR4, LL_PWR_SRAM1_STOP_4_12_RETENTION))) & LL_PWR_SRAM1_STOP_4_12_RETENTI… in LL_PWR_GetSRAM1StopRetention_4_12()
1083 …MODIFY_REG(PWR->CR4, LL_PWR_SRAM3_STOP_9_13_RETENTION, ((~SRAM3PageRetention) & LL_PWR_SRAM3_STOP_… in LL_PWR_SetSRAM3StopRetention_9_13()
1135 …return ((~(READ_BIT(PWR->CR4, LL_PWR_SRAM3_STOP_9_13_RETENTION))) & LL_PWR_SRAM3_STOP_9_13_RETENTI… in LL_PWR_GetSRAM3StopRetention_9_13()
1202 …MODIFY_REG(PWR->CR4, LL_PWR_SRAM5_STOP_FULL_RETENTION, ((~SRAM5PageRetention) & LL_PWR_SRAM5_STOP_… in LL_PWR_SetSRAM5StopRetention()
1240 …return ((~(READ_BIT(PWR->CR4, LL_PWR_SRAM5_STOP_FULL_RETENTION))) & LL_PWR_SRAM5_STOP_FULL_RETENTI… in LL_PWR_GetSRAM5StopRetention()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/include/
Dstm32c0xx_ll_pwr.h532 SET_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow()
555 CLEAR_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh()
578 return ((READ_BIT(PWR->CR4, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsWakeUpPinPolarityLow()
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_pwr_ex.c137 tmpreg = (PWR->CR4 & ~PWR_CR4_VBRS); in HAL_PWREx_EnableBatteryCharging()
138 PWR->CR4 = (tmpreg | ResistorSelection | PWR_CR4_VBE); in HAL_PWREx_EnableBatteryCharging()
148 CLEAR_BIT(PWR->CR4, PWR_CR4_VBE); in HAL_PWREx_DisableBatteryCharging()
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_pwr_ex.c163 MODIFY_REG(PWR->CR4, PWR_CR4_VBRS, ResistorSelection); in HAL_PWREx_EnableBatteryCharging()
166 SET_BIT(PWR->CR4, PWR_CR4_VBE); in HAL_PWREx_EnableBatteryCharging()
175 CLEAR_BIT(PWR->CR4, PWR_CR4_VBE); in HAL_PWREx_DisableBatteryCharging()
Dstm32wlxx_hal_pwr.c98 LL_PWR_WriteReg(CR4, PWR_CR4_RESET_VALUE); in HAL_PWR_DeInit()
427 …MODIFY_REG(PWR->CR4, ((PWR_CR4_WP1 | PWR_CR4_WP2 | PWR_CR4_WP3) & WakeUpPinPolarity), (WakeUpPinPo… in HAL_PWR_EnableWakeUpPin()
Dstm32wlxx_ll_pwr.c87 LL_PWR_WriteReg(CR4, PWR_CR4_RESET_VALUE); in LL_PWR_DeInit()
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/
Dstm32u0xx_hal_pwr_ex.c775 MODIFY_REG(PWR->CR4, PWR_CR4_VBRS, ResistorSelection); in HAL_PWREx_EnableBatteryCharging()
778 SET_BIT(PWR->CR4, PWR_CR4_VBE); in HAL_PWREx_EnableBatteryCharging()
787 CLEAR_BIT(PWR->CR4, PWR_CR4_VBE); in HAL_PWREx_DisableBatteryCharging()
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_pwr_ex.c243 MODIFY_REG(PWR->CR4, PWR_CR4_VBRS, ResistorSelection); in HAL_PWREx_EnableBatteryCharging()
246 SET_BIT(PWR->CR4, PWR_CR4_VBE); in HAL_PWREx_EnableBatteryCharging()
256 CLEAR_BIT(PWR->CR4, PWR_CR4_VBE); in HAL_PWREx_DisableBatteryCharging()
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/
Dstm32wb0x_hal_pwr.c236 SET_BIT(PWR->CR4, (WakeUpPin & 0x0000FFFF)); in HAL_PWR_EnableWakeUpPin()
241 CLEAR_BIT(PWR->CR4, (WakeUpPin & 0x0000FFFF)); in HAL_PWR_EnableWakeUpPin()
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/include/
Dstm32wb0x_ll_pwr.h1164 SET_BIT(PWR->CR4, (WakeUpPin & 0x0000FFFF)); in LL_PWR_SetWakeUpPinPolarityLow()
1230 CLEAR_BIT(PWR->CR4, (WakeUpPin & 0x0000FFFF)); in LL_PWR_SetWakeUpPinPolarityHigh()
1299 return (uint32_t)((READ_BIT(PWR->CR4, (WakeUpPin & 0x0000FFFF))) ? 1UL : 0UL); in LL_PWR_IsWakeUpPinPolarityLow()

12345