Lines Matching refs:pllfreq
373 uint32_t pllfreq, msi_range; in LL_PLL_ConfigSystemClock_MSI() local
427 …pllfreq = UTILS_GetPLLOutputFrequency(__LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), ms… in LL_PLL_ConfigSystemClock_MSI()
445 if (pllfreq > 80000000U) in LL_PLL_ConfigSystemClock_MSI()
454 status = UTILS_EnablePLLAndSwitchSystem(pllfreq, UTILS_ClkInitStruct); in LL_PLL_ConfigSystemClock_MSI()
460 status = LL_SetFlashLatency(pllfreq); in LL_PLL_ConfigSystemClock_MSI()
465 LL_SetSystemCoreClock(pllfreq); in LL_PLL_ConfigSystemClock_MSI()
499 uint32_t pllfreq; in LL_PLL_ConfigSystemClock_HSI() local
506 pllfreq = UTILS_GetPLLOutputFrequency(HSI_VALUE, UTILS_PLLInitStruct); in LL_PLL_ConfigSystemClock_HSI()
523 if (pllfreq > 80000000U) in LL_PLL_ConfigSystemClock_HSI()
532 status = UTILS_EnablePLLAndSwitchSystem(pllfreq, UTILS_ClkInitStruct); in LL_PLL_ConfigSystemClock_HSI()
538 status = LL_SetFlashLatency(pllfreq); in LL_PLL_ConfigSystemClock_HSI()
543 LL_SetSystemCoreClock(pllfreq); in LL_PLL_ConfigSystemClock_HSI()
580 uint32_t pllfreq; in LL_PLL_ConfigSystemClock_HSE() local
591 pllfreq = UTILS_GetPLLOutputFrequency(HSEFrequency, UTILS_PLLInitStruct); in LL_PLL_ConfigSystemClock_HSE()
619 if (pllfreq > 80000000U) in LL_PLL_ConfigSystemClock_HSE()
628 status = UTILS_EnablePLLAndSwitchSystem(pllfreq, UTILS_ClkInitStruct); in LL_PLL_ConfigSystemClock_HSE()
634 status = LL_SetFlashLatency(pllfreq); in LL_PLL_ConfigSystemClock_HSE()
639 LL_SetSystemCoreClock(pllfreq); in LL_PLL_ConfigSystemClock_HSE()
673 uint32_t pllfreq; in UTILS_GetPLLOutputFrequency() local
682 pllfreq = PLL_InputFrequency / (((UTILS_PLLInitStruct->PLLM >> RCC_PLLCFGR_PLLM_Pos) + 1U)); in UTILS_GetPLLOutputFrequency()
683 assert_param(IS_LL_UTILS_PLLVCO_INPUT(pllfreq)); in UTILS_GetPLLOutputFrequency()
686 pllfreq = pllfreq * (UTILS_PLLInitStruct->PLLN & (RCC_PLLCFGR_PLLN >> RCC_PLLCFGR_PLLN_Pos)); in UTILS_GetPLLOutputFrequency()
687 assert_param(IS_LL_UTILS_PLLVCO_OUTPUT(pllfreq)); in UTILS_GetPLLOutputFrequency()
690 pllfreq = pllfreq / (((UTILS_PLLInitStruct->PLLR >> RCC_PLLCFGR_PLLR_Pos) + 1U) * 2U); in UTILS_GetPLLOutputFrequency()
691 assert_param(IS_LL_UTILS_PLL_FREQUENCY(pllfreq)); in UTILS_GetPLLOutputFrequency()
693 return pllfreq; in UTILS_GetPLLOutputFrequency()