Home
last modified time | relevance | path

Searched refs:wait_loop_index (Results 1 – 25 of 70) sorted by relevance

123

/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_comp.c237 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Init() local
322wait_loop_index = ((COMP_DELAY_VOLTAGE_SCALER_STAB_US / 10UL) * ((SystemCoreClock / (100000UL * 2U… in HAL_COMP_Init()
323 while (wait_loop_index != 0UL) in HAL_COMP_Init()
325 wait_loop_index--; in HAL_COMP_Init()
623 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Start() local
662wait_loop_index = ((COMP_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_COMP_Start()
663 while (wait_loop_index != 0UL) in HAL_COMP_Start()
665 wait_loop_index--; in HAL_COMP_Start()
731 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Start_IT_OneShot() local
762wait_loop_index = ((COMP_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_COMP_Start_IT_OneShot()
[all …]
Dstm32h5xx_hal_dac_ex.c130 __IO uint32_t wait_loop_index; in HAL_DACEx_DualStart() local
153 wait_loop_index = ((DAC_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_DualStart()
154 while (wait_loop_index != 0UL) in HAL_DACEx_DualStart()
156 wait_loop_index--; in HAL_DACEx_DualStart()
229 __IO uint32_t wait_loop_index; in HAL_DACEx_DualStart_DMA() local
384wait_loop_index = ((DAC_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_DualStart_DMA()
385 while (wait_loop_index != 0UL) in HAL_DACEx_DualStart_DMA()
387 wait_loop_index--; in HAL_DACEx_DualStart_DMA()
712 __IO uint32_t wait_loop_index; in HAL_DACEx_SelfCalibrate() local
763 wait_loop_index = ((DAC_DELAY_TRIM_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_SelfCalibrate()
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_dac_ex.c137 __IO uint32_t wait_loop_index; in HAL_DACEx_DualStart() local
160 wait_loop_index = ((DAC_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_DualStart()
161 while (wait_loop_index != 0UL) in HAL_DACEx_DualStart()
163 wait_loop_index--; in HAL_DACEx_DualStart()
236 __IO uint32_t wait_loop_index; in HAL_DACEx_DualStart_DMA() local
391wait_loop_index = ((DAC_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_DualStart_DMA()
392 while (wait_loop_index != 0UL) in HAL_DACEx_DualStart_DMA()
394 wait_loop_index--; in HAL_DACEx_DualStart_DMA()
719 __IO uint32_t wait_loop_index; in HAL_DACEx_SelfCalibrate() local
770 wait_loop_index = ((DAC_DELAY_TRIM_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_SelfCalibrate()
[all …]
Dstm32u5xx_hal_comp.c238 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Init() local
382wait_loop_index = ((COMP_DELAY_VOLTAGE_SCALER_STAB_US / 10UL) * ((SystemCoreClock / (100000UL * 2U… in HAL_COMP_Init()
383 while (wait_loop_index != 0UL) in HAL_COMP_Init()
385 wait_loop_index--; in HAL_COMP_Init()
728 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Start() local
758wait_loop_index = ((COMP_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_COMP_Start()
759 while (wait_loop_index != 0UL) in HAL_COMP_Start()
761 wait_loop_index--; in HAL_COMP_Start()
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_dac_ex.c134 __IO uint32_t wait_loop_index; in HAL_DACEx_DualStart() local
159 wait_loop_index = ((DAC_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_DualStart()
160 while (wait_loop_index != 0UL) in HAL_DACEx_DualStart()
162 wait_loop_index--; in HAL_DACEx_DualStart()
237 __IO uint32_t wait_loop_index; in HAL_DACEx_DualStart_DMA() local
335wait_loop_index = ((DAC_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_DualStart_DMA()
336 while (wait_loop_index != 0UL) in HAL_DACEx_DualStart_DMA()
338 wait_loop_index--; in HAL_DACEx_DualStart_DMA()
877 __IO uint32_t wait_loop_index; in HAL_DACEx_SelfCalibrate() local
928 wait_loop_index = ((DAC_DELAY_TRIM_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_SelfCalibrate()
[all …]
Dstm32g4xx_hal_pwr_ex.c155 uint32_t wait_loop_index; in HAL_PWREx_ControlVoltageScaling() local
171 wait_loop_index = ((PWR_FLAG_SETTING_DELAY_US * SystemCoreClock) / 1000000U) + 1U; in HAL_PWREx_ControlVoltageScaling()
172 while ((HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_VOSF)) && (wait_loop_index != 0U)) in HAL_PWREx_ControlVoltageScaling()
174 wait_loop_index--; in HAL_PWREx_ControlVoltageScaling()
200 wait_loop_index = ((PWR_FLAG_SETTING_DELAY_US * SystemCoreClock) / 1000000U) + 1U; in HAL_PWREx_ControlVoltageScaling()
201 while ((HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_VOSF)) && (wait_loop_index != 0U)) in HAL_PWREx_ControlVoltageScaling()
203 wait_loop_index--; in HAL_PWREx_ControlVoltageScaling()
852 uint32_t wait_loop_index; in HAL_PWREx_DisableLowPowerRunMode() local
858 wait_loop_index = (PWR_FLAG_SETTING_DELAY_US * (SystemCoreClock / 1000000U)); in HAL_PWREx_DisableLowPowerRunMode()
859 while ((HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_REGLPF)) && (wait_loop_index != 0U)) in HAL_PWREx_DisableLowPowerRunMode()
[all …]
Dstm32g4xx_hal_comp.c229 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Init() local
312wait_loop_index = ((COMP_DELAY_VOLTAGE_SCALER_STAB_US / 10UL) * ((SystemCoreClock / (100000UL * 2U… in HAL_COMP_Init()
313 while (wait_loop_index != 0UL) in HAL_COMP_Init()
315 wait_loop_index--; in HAL_COMP_Init()
778 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Start() local
810 wait_loop_index = (COMP_DELAY_STARTUP_US * (SystemCoreClock / (1000000UL * 2UL))); in HAL_COMP_Start()
811 while (wait_loop_index != 0UL) in HAL_COMP_Start()
813 wait_loop_index--; in HAL_COMP_Start()
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_pwr_ex.c165 uint32_t wait_loop_index; in HAL_PWREx_ControlVoltageScaling() local
182 wait_loop_index = ((PWR_FLAG_SETTING_DELAY_US * SystemCoreClock) / 1000000U) + 1; in HAL_PWREx_ControlVoltageScaling()
183 while ((HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_VOSF)) && (wait_loop_index != 0U)) in HAL_PWREx_ControlVoltageScaling()
185 wait_loop_index--; in HAL_PWREx_ControlVoltageScaling()
211 wait_loop_index = ((PWR_FLAG_SETTING_DELAY_US * SystemCoreClock) / 1000000U) + 1; in HAL_PWREx_ControlVoltageScaling()
212 while ((HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_VOSF)) && (wait_loop_index != 0U)) in HAL_PWREx_ControlVoltageScaling()
214 wait_loop_index--; in HAL_PWREx_ControlVoltageScaling()
247 wait_loop_index = ((PWR_FLAG_SETTING_DELAY_US * SystemCoreClock) / 1000000U) + 1U; in HAL_PWREx_ControlVoltageScaling()
248 while ((HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_VOSF)) && (wait_loop_index != 0U)) in HAL_PWREx_ControlVoltageScaling()
250 wait_loop_index--; in HAL_PWREx_ControlVoltageScaling()
[all …]
Dstm32l4xx_hal_comp.c264 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Init() local
394wait_loop_index = ((COMP_DELAY_VOLTAGE_SCALER_STAB_US / 10UL) * ((SystemCoreClock / (100000UL * 2U… in HAL_COMP_Init()
395 while (wait_loop_index != 0UL) in HAL_COMP_Init()
397 wait_loop_index--; in HAL_COMP_Init()
739 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Start() local
769wait_loop_index = ((COMP_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_COMP_Start()
770 while (wait_loop_index != 0UL) in HAL_COMP_Start()
772 wait_loop_index--; in HAL_COMP_Start()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_comp.c267 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Init() local
373wait_loop_index = ((COMP_DELAY_VOLTAGE_SCALER_STAB_US / 10UL) * ((SystemCoreClock / (100000UL * 2U… in HAL_COMP_Init()
375 while(wait_loop_index != 0UL) in HAL_COMP_Init()
377 wait_loop_index --; in HAL_COMP_Init()
752 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Start() local
783wait_loop_index = ((COMP_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_COMP_Start()
784 while(wait_loop_index != 0UL) in HAL_COMP_Start()
786 wait_loop_index--; in HAL_COMP_Start()
849 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Start_IT() local
880wait_loop_index = ((COMP_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_COMP_Start_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_pwr_ex.c133 uint32_t wait_loop_index; in HAL_PWREx_ControlVoltageScaling() local
160 wait_loop_index = ((PWR_VOSF_SETTING_DELAY_VALUE * (SystemCoreClock / 100000U)) / 10U) + 1U; in HAL_PWREx_ControlVoltageScaling()
162 while ((HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_VOSF)) && (wait_loop_index != 0U)) in HAL_PWREx_ControlVoltageScaling()
164 wait_loop_index--; in HAL_PWREx_ControlVoltageScaling()
842 uint32_t wait_loop_index; in HAL_PWREx_DisableLowPowerRunMode() local
849 wait_loop_index = ((PWR_REGLP_SETTING_DELAY_VALUE * (SystemCoreClock / 100000U)) / 10U) + 1U; in HAL_PWREx_DisableLowPowerRunMode()
851 while ((HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_REGLPF)) && (wait_loop_index != 0U)) in HAL_PWREx_DisableLowPowerRunMode()
853 wait_loop_index--; in HAL_PWREx_DisableLowPowerRunMode()
1278 uint32_t wait_loop_index; in HAL_PWREx_SMPS_SetMode() local
1318 wait_loop_index = ((PWR_MODE_CHANGE_DELAY_VALUE * (SystemCoreClock / 100000U)) / 10U) + 1U; in HAL_PWREx_SMPS_SetMode()
[all …]
Dstm32l5xx_hal_comp.c234 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Init() local
337wait_loop_index = ((COMP_DELAY_VOLTAGE_SCALER_STAB_US / 10UL) * ((SystemCoreClock / (100000UL * 2U… in HAL_COMP_Init()
338 while (wait_loop_index != 0UL) in HAL_COMP_Init()
340 wait_loop_index--; in HAL_COMP_Init()
683 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Start() local
713wait_loop_index = ((COMP_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_COMP_Start()
714 while (wait_loop_index != 0UL) in HAL_COMP_Start()
716 wait_loop_index--; in HAL_COMP_Start()
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_dac_ex.c217 __IO uint32_t wait_loop_index; in HAL_DACEx_SelfCalibrate() local
276 wait_loop_index = ((DAC_DELAY_TRIM_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_SelfCalibrate()
277 while(wait_loop_index != 0UL) in HAL_DACEx_SelfCalibrate()
279 wait_loop_index--; in HAL_DACEx_SelfCalibrate()
304 wait_loop_index = ((DAC_DELAY_TRIM_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_SelfCalibrate()
305 while(wait_loop_index != 0UL) in HAL_DACEx_SelfCalibrate()
307 wait_loop_index--; in HAL_DACEx_SelfCalibrate()
Dstm32wlxx_hal_comp.c235 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Init() local
335wait_loop_index = ((COMP_DELAY_VOLTAGE_SCALER_STAB_US / 10UL) * ((SystemCoreClock / (100000UL * 2U… in HAL_COMP_Init()
336 while(wait_loop_index != 0UL) in HAL_COMP_Init()
338 wait_loop_index--; in HAL_COMP_Init()
703 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Start() local
733wait_loop_index = ((COMP_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_COMP_Start()
734 while(wait_loop_index != 0UL) in HAL_COMP_Start()
736 wait_loop_index--; in HAL_COMP_Start()
Dstm32wlxx_hal_pwr_ex.c110 uint32_t wait_loop_index; in HAL_PWREx_ControlVoltageScaling() local
123 wait_loop_index = ((PWR_FLAG_SETTING_DELAY_US * SystemCoreClock) / 1000000UL); in HAL_PWREx_ControlVoltageScaling()
124 while ((HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_VOSF)) && (wait_loop_index != 0U)) in HAL_PWREx_ControlVoltageScaling()
126 wait_loop_index--; in HAL_PWREx_ControlVoltageScaling()
870 uint32_t wait_loop_index; in HAL_PWREx_DisableLowPowerRunMode() local
876 wait_loop_index = ((PWR_FLAG_SETTING_DELAY_US * SystemCoreClock) / 1000000UL); in HAL_PWREx_DisableLowPowerRunMode()
877 while ((HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_REGLPF)) && (wait_loop_index != 0U)) in HAL_PWREx_DisableLowPowerRunMode()
879 wait_loop_index--; in HAL_PWREx_DisableLowPowerRunMode()
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/
Dstm32u0xx_hal_dac_ex.c229 __IO uint32_t wait_loop_index; in HAL_DACEx_SelfCalibrate() local
288 wait_loop_index = ((DAC_DELAY_TRIM_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_SelfCalibrate()
289 while (wait_loop_index != 0UL) in HAL_DACEx_SelfCalibrate()
291 wait_loop_index--; in HAL_DACEx_SelfCalibrate()
316 wait_loop_index = ((DAC_DELAY_TRIM_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_SelfCalibrate()
317 while (wait_loop_index != 0UL) in HAL_DACEx_SelfCalibrate()
319 wait_loop_index--; in HAL_DACEx_SelfCalibrate()
Dstm32u0xx_hal_comp.c235 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Init() local
386wait_loop_index = ((COMP_DELAY_VOLTAGE_SCALER_STAB_US / 10UL) * ((SystemCoreClock / (100000UL * 2U… in HAL_COMP_Init()
387 while (wait_loop_index != 0UL) in HAL_COMP_Init()
389 wait_loop_index--; in HAL_COMP_Init()
732 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Start() local
762wait_loop_index = ((COMP_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_COMP_Start()
763 while (wait_loop_index != 0UL) in HAL_COMP_Start()
765 wait_loop_index--; in HAL_COMP_Start()
Dstm32u0xx_hal_pwr_ex.c194 uint32_t wait_loop_index; in HAL_PWREx_ControlVoltageScaling() local
205 wait_loop_index = ((PWR_FLAG_SETTING_DELAY_US * SystemCoreClock) / 1000000U) + 1U; in HAL_PWREx_ControlVoltageScaling()
206 while ((HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_VOSF)) && (wait_loop_index != 0U)) in HAL_PWREx_ControlVoltageScaling()
208 wait_loop_index--; in HAL_PWREx_ControlVoltageScaling()
371 uint32_t wait_loop_index; in HAL_PWREx_DisableLowPowerRunMode() local
377 wait_loop_index = ((PWR_FLAG_SETTING_DELAY_US * SystemCoreClock) / 1000000U) + 1U; in HAL_PWREx_DisableLowPowerRunMode()
378 while ((HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_REGLPF)) && (wait_loop_index != 0U)) in HAL_PWREx_DisableLowPowerRunMode()
380 wait_loop_index--; in HAL_PWREx_DisableLowPowerRunMode()
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_comp.c235 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Init() local
351wait_loop_index = ((COMP_DELAY_VOLTAGE_SCALER_STAB_US / 10UL) * ((SystemCoreClock / (100000UL * 2U… in HAL_COMP_Init()
352 while (wait_loop_index != 0UL) in HAL_COMP_Init()
354 wait_loop_index--; in HAL_COMP_Init()
696 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Start() local
726wait_loop_index = ((COMP_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_COMP_Start()
727 while (wait_loop_index != 0UL) in HAL_COMP_Start()
729 wait_loop_index--; in HAL_COMP_Start()
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_comp.c274 __IO uint32_t wait_loop_index = 0U; in HAL_COMP_Init() local
358wait_loop_index = (COMP_DELAY_VOLTAGE_SCALER_STAB_US * (SystemCoreClock / (1000000U * 2U))); in HAL_COMP_Init()
359 while(wait_loop_index != 0U) in HAL_COMP_Init()
361 wait_loop_index--; in HAL_COMP_Init()
783 __IO uint32_t wait_loop_index = 0U; in HAL_COMP_Start() local
808 wait_loop_index = (COMP_DELAY_STARTUP_US * (SystemCoreClock / (1000000U * 2U))); in HAL_COMP_Start()
809 while(wait_loop_index != 0U) in HAL_COMP_Start()
811 wait_loop_index--; in HAL_COMP_Start()
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_hal_comp.c355 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Init() local
436wait_loop_index = ((COMP_DELAY_VOLTAGE_SCALER_STAB_US / 10UL) * ((SystemCoreClock / (100000UL * 2U… in HAL_COMP_Init()
437 while (wait_loop_index != 0UL) in HAL_COMP_Init()
439 wait_loop_index--; in HAL_COMP_Init()
715 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Start() local
774wait_loop_index = ((COMP_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_COMP_Start()
775 while (wait_loop_index != 0UL) in HAL_COMP_Start()
777 wait_loop_index--; in HAL_COMP_Start()
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_comp.c234 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Init() local
376wait_loop_index = ((COMP_DELAY_VOLTAGE_SCALER_STAB_US / 10UL) * ((SystemCoreClock / (100000UL * 2U… in HAL_COMP_Init()
377 while (wait_loop_index != 0UL) in HAL_COMP_Init()
379 wait_loop_index--; in HAL_COMP_Init()
722 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Start() local
752wait_loop_index = ((COMP_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_COMP_Start()
753 while (wait_loop_index != 0UL) in HAL_COMP_Start()
755 wait_loop_index--; in HAL_COMP_Start()
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_dac_ex.c424 __IO uint32_t wait_loop_index; in HAL_DACEx_SelfCalibrate() local
473 wait_loop_index = ((DAC_DELAY_TRIM_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_SelfCalibrate()
474 while (wait_loop_index != 0UL) in HAL_DACEx_SelfCalibrate()
476 wait_loop_index--; in HAL_DACEx_SelfCalibrate()
501 wait_loop_index = ((DAC_DELAY_TRIM_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_DACEx_SelfCalibrate()
502 while (wait_loop_index != 0UL) in HAL_DACEx_SelfCalibrate()
504 wait_loop_index--; in HAL_DACEx_SelfCalibrate()
Dstm32g0xx_hal_pwr_ex.c764 uint32_t wait_loop_index; in HAL_PWREx_ControlVoltageScaling() local
775 wait_loop_index = ((PWR_VOSF_SETTING_DELAY_6_US * SystemCoreClock) / 1000000U) + 1U; in HAL_PWREx_ControlVoltageScaling()
780 if (wait_loop_index != 0U) in HAL_PWREx_ControlVoltageScaling()
782 wait_loop_index--; in HAL_PWREx_ControlVoltageScaling()
820 uint32_t wait_loop_index = ((PWR_REGLPF_SETTING_DELAY_6_US * SystemCoreClock) / 1000000U) + 1U; in HAL_PWREx_DisableLowPowerRunMode() local
828 if (wait_loop_index != 0U) in HAL_PWREx_DisableLowPowerRunMode()
830 wait_loop_index--; in HAL_PWREx_DisableLowPowerRunMode()
Dstm32g0xx_hal_comp.c234 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Init() local
439wait_loop_index = ((COMP_DELAY_VOLTAGE_SCALER_STAB_US / 10UL) * ((SystemCoreClock / (100000UL * 2U… in HAL_COMP_Init()
440 while (wait_loop_index != 0UL) in HAL_COMP_Init()
442 wait_loop_index--; in HAL_COMP_Init()
785 __IO uint32_t wait_loop_index = 0UL; in HAL_COMP_Start() local
815wait_loop_index = ((COMP_DELAY_STARTUP_US / 10UL) * ((SystemCoreClock / (100000UL * 2UL)) + 1UL)); in HAL_COMP_Start()
816 while (wait_loop_index != 0UL) in HAL_COMP_Start()
818 wait_loop_index--; in HAL_COMP_Start()

123