Lines Matching refs:pllfreq

448   uint32_t pllfreq, msi_range;  in LL_PLL_ConfigSystemClock_MSI()  local
505pllfreq = UTILS_GetPLLOutputFrequency(__LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), ms… in LL_PLL_ConfigSystemClock_MSI()
525 if(pllfreq > 80000000U) in LL_PLL_ConfigSystemClock_MSI()
535 status = UTILS_EnablePLLAndSwitchSystem(pllfreq, UTILS_ClkInitStruct); in LL_PLL_ConfigSystemClock_MSI()
543 status = LL_SetFlashLatency(pllfreq); in LL_PLL_ConfigSystemClock_MSI()
548 LL_SetSystemCoreClock(pllfreq); in LL_PLL_ConfigSystemClock_MSI()
583 uint32_t pllfreq; in LL_PLL_ConfigSystemClock_HSI() local
593 pllfreq = UTILS_GetPLLOutputFrequency(HSI_VALUE, UTILS_PLLInitStruct); in LL_PLL_ConfigSystemClock_HSI()
612 if(pllfreq > 80000000U) in LL_PLL_ConfigSystemClock_HSI()
622 status = UTILS_EnablePLLAndSwitchSystem(pllfreq, UTILS_ClkInitStruct); in LL_PLL_ConfigSystemClock_HSI()
630 status = LL_SetFlashLatency(pllfreq); in LL_PLL_ConfigSystemClock_HSI()
635 LL_SetSystemCoreClock(pllfreq); in LL_PLL_ConfigSystemClock_HSI()
673 uint32_t pllfreq; in LL_PLL_ConfigSystemClock_HSE() local
687 pllfreq = UTILS_GetPLLOutputFrequency(HSEFrequency, UTILS_PLLInitStruct); in LL_PLL_ConfigSystemClock_HSE()
717 if(pllfreq > 80000000U) in LL_PLL_ConfigSystemClock_HSE()
727 status = UTILS_EnablePLLAndSwitchSystem(pllfreq, UTILS_ClkInitStruct); in LL_PLL_ConfigSystemClock_HSE()
735 status = LL_SetFlashLatency(pllfreq); in LL_PLL_ConfigSystemClock_HSE()
740 LL_SetSystemCoreClock(pllfreq); in LL_PLL_ConfigSystemClock_HSE()
774 uint32_t pllfreq; in UTILS_GetPLLOutputFrequency() local
783 pllfreq = PLL_InputFrequency / (((UTILS_PLLInitStruct->PLLM >> RCC_PLLCFGR_PLLM_Pos) + 1U)); in UTILS_GetPLLOutputFrequency()
784 assert_param(IS_LL_UTILS_PLLVCO_INPUT(pllfreq)); in UTILS_GetPLLOutputFrequency()
787 pllfreq = pllfreq * (UTILS_PLLInitStruct->PLLN & (RCC_PLLCFGR_PLLN >> RCC_PLLCFGR_PLLN_Pos)); in UTILS_GetPLLOutputFrequency()
788 assert_param(IS_LL_UTILS_PLLVCO_OUTPUT(pllfreq)); in UTILS_GetPLLOutputFrequency()
791 pllfreq = pllfreq / (((UTILS_PLLInitStruct->PLLR >> RCC_PLLCFGR_PLLR_Pos) + 1U) * 2U); in UTILS_GetPLLOutputFrequency()
792 assert_param(IS_LL_UTILS_PLL_FREQUENCY(pllfreq)); in UTILS_GetPLLOutputFrequency()
794 return pllfreq; in UTILS_GetPLLOutputFrequency()