Lines Matching refs:freq
3937 uint32_t freq; in ADC_ConfigureBoostMode() local
3940 freq = HAL_RCC_GetHCLKFreq(); in ADC_ConfigureBoostMode()
3945 freq /= (hadc->Init.ClockPrescaler >> ADC_CCR_CKMODE_Pos); in ADC_ConfigureBoostMode()
3948 freq /= 4UL; in ADC_ConfigureBoostMode()
3956 freq = HAL_RCCEx_GetPeriphCLKFreq(RCC_PERIPHCLK_ADC); in ADC_ConfigureBoostMode()
3965 freq /= ((hadc->Init.ClockPrescaler >> ADC_CCR_PRESC_Pos) << 1UL); in ADC_ConfigureBoostMode()
3968 freq /= 16UL; in ADC_ConfigureBoostMode()
3971 freq /= 32UL; in ADC_ConfigureBoostMode()
3974 freq /= 64UL; in ADC_ConfigureBoostMode()
3977 freq /= 128UL; in ADC_ConfigureBoostMode()
3980 freq /= 256UL; in ADC_ConfigureBoostMode()
3988 freq /= 2U; in ADC_ConfigureBoostMode()
3989 if (freq <= 6250000UL) in ADC_ConfigureBoostMode()
3993 else if (freq <= 12500000UL) in ADC_ConfigureBoostMode()
3997 else if (freq <= 25000000UL) in ADC_ConfigureBoostMode()
4008 if (freq > 20000000UL) in ADC_ConfigureBoostMode()
4019 freq /= 2U; /* divider by 2 for Rev.V */ in ADC_ConfigureBoostMode()
4021 if (freq <= 6250000UL) in ADC_ConfigureBoostMode()
4025 else if (freq <= 12500000UL) in ADC_ConfigureBoostMode()
4029 else if (freq <= 25000000UL) in ADC_ConfigureBoostMode()