Home
last modified time | relevance | path

Searched refs:pllinputfreq (Results 1 – 23 of 23) sorted by relevance

/hal_stm32-3.6.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_ll_rcc.c1048 uint32_t pllinputfreq; in RCC_PLL_GetFreqDomain_SYS() local
1059 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_PLL_GetFreqDomain_SYS()
1063 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1069 pllinputfreq = HSE_VALUE / 2U; in RCC_PLL_GetFreqDomain_SYS()
1073 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1078 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_PLL_GetFreqDomain_SYS()
1081 return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_SYS()
1092 uint32_t pllinputfreq; in RCC_PLL_GetFreqDomain_SAI() local
1103 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_PLL_GetFreqDomain_SAI()
1107 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SAI()
[all …]
Dstm32wbxx_hal_rcc_ex.c2107 uint32_t pllinputfreq; in RCC_PLL_GetFreqDomain_P() local
2118 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_PLL_GetFreqDomain_P()
2122 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_P()
2128 pllinputfreq = HSE_VALUE / 2U; in RCC_PLL_GetFreqDomain_P()
2132 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_P()
2137 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_PLL_GetFreqDomain_P()
2140 return __LL_RCC_CALC_PLLCLK_ADC_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_P()
2150 uint32_t pllinputfreq; in RCC_PLL_GetFreqDomain_Q() local
2161 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_PLL_GetFreqDomain_Q()
2165 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_Q()
[all …]
Dstm32wbxx_hal_rcc.c1409 uint32_t pllinputfreq; in HAL_RCC_GetSysClockFreq() local
1442 pllinputfreq = HSI_VALUE; in HAL_RCC_GetSysClockFreq()
1447 pllinputfreq = HSE_VALUE / 2U; in HAL_RCC_GetSysClockFreq()
1451 pllinputfreq = HSE_VALUE; in HAL_RCC_GetSysClockFreq()
1456 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in HAL_RCC_GetSysClockFreq()
1459 … sysclockfreq = __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), LL_RCC_PLL_GetN(), in HAL_RCC_GetSysClockFreq()
/hal_stm32-3.6.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_ll_rcc.c1592 uint32_t pllinputfreq, pllsource; in RCC_PLL_GetFreqDomain_SYS() local
1602 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_PLL_GetFreqDomain_SYS()
1609 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1613 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1617 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_PLL_GetFreqDomain_SYS()
1623 return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_SYS()
1634 uint32_t pllinputfreq, pllsource; in RCC_PLL_GetFreqDomain_SAI() local
1644 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_PLL_GetFreqDomain_SAI()
1651 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SAI()
1655 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SAI()
[all …]
/hal_stm32-3.6.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_rcc.c1191 uint32_t pllinputfreq = 0U, pllsource = 0U, plloutputfreq = 0U; in RCC_PLL_GetFreqDomain_SYS() local
1201 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1205 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1209 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1215 plloutputfreq = __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_SYS()
1221 plloutputfreq = __LL_RCC_CALC_PLLRCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_SYS()
1235 uint32_t pllinputfreq = 0U, pllsource = 0U; in RCC_PLL_GetFreqDomain_48M() local
1245 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_48M()
1249 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_48M()
1253 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_48M()
[all …]
/hal_stm32-3.6.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_ll_rcc.c1291 uint32_t pllinputfreq = 0U, pllsource = 0U; in RCC_PLL_GetFreqDomain_SYS() local
1301 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1305 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1309 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1312 return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_SYS()
1322 uint32_t pllinputfreq = 0U, pllsource = 0U; in RCC_PLL_GetFreqDomain_48M() local
1332 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_48M()
1336 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_48M()
1340 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_48M()
1343 return __LL_RCC_CALC_PLLCLK_48M_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_48M()
[all …]
/hal_stm32-3.6.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_ll_rcc.c1413 uint32_t pllinputfreq, pllsource; in RCC_PLL_GetFreqDomain_SYS() local
1423 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_PLL_GetFreqDomain_SYS()
1430 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1434 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1438 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_PLL_GetFreqDomain_SYS()
1444 return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_SYS()
1453 uint32_t pllinputfreq, plloutputfreq, pllsource; in RCC_PLL_GetFreqDomain_SAI() local
1464 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_PLL_GetFreqDomain_SAI()
1471 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SAI()
1475 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SAI()
[all …]
/hal_stm32-3.6.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_ll_rcc.c1092 uint32_t pllinputfreq; in RCC_PLL_GetFreqDomain_SYS() local
1103 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1107 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1111 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1114 return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_SYS()
1123 uint32_t pllinputfreq; in RCC_PLL_GetFreqDomain_ADC() local
1134 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_ADC()
1139 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_ADC()
1142 return __LL_RCC_CALC_PLLCLK_ADC_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_ADC()
1153 uint32_t pllinputfreq; in RCC_PLL_GetFreqDomain_FDCAN() local
[all …]
/hal_stm32-3.6.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_ll_rcc.c897 uint32_t pllinputfreq; in RCC_PLL_GetFreqDomain_SYS() local
908 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_PLL_GetFreqDomain_SYS()
915 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
921 pllinputfreq = HSE_VALUE / 2U; in RCC_PLL_GetFreqDomain_SYS()
925 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SYS()
931 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_PLL_GetFreqDomain_SYS()
937 return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_SYS()
947 uint32_t pllinputfreq; in RCC_PLL_GetFreqDomain_ADC() local
957 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_PLL_GetFreqDomain_ADC()
964 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_ADC()
[all …]
Dstm32wlxx_hal_rcc_ex.c1077 uint32_t pllinputfreq; in RCC_PLL_GetFreqDomain_P() local
1088 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_PLL_GetFreqDomain_P()
1095 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_P()
1101 pllinputfreq = HSE_VALUE / 2U; in RCC_PLL_GetFreqDomain_P()
1105 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_P()
1110 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_PLL_GetFreqDomain_P()
1116 return __LL_RCC_CALC_PLLCLK_ADC_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_P()
1127 uint32_t pllinputfreq; in RCC_PLL_GetFreqDomain_Q() local
1138 pllinputfreq = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_PLL_GetFreqDomain_Q()
1145 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_Q()
[all …]
Dstm32wlxx_hal_rcc.c1257 uint32_t pllinputfreq; in HAL_RCC_GetSysClockFreq() local
1309 pllinputfreq = HSI_VALUE; in HAL_RCC_GetSysClockFreq()
1314 pllinputfreq = HSE_VALUE / 2U; in HAL_RCC_GetSysClockFreq()
1318 pllinputfreq = HSE_VALUE; in HAL_RCC_GetSysClockFreq()
1323 pllinputfreq = msifreq; in HAL_RCC_GetSysClockFreq()
1326 sysclockfreq = __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in HAL_RCC_GetSysClockFreq()
/hal_stm32-3.6.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_ll_rcc.c305 uint32_t pllinputfreq = 0U, pllsource = 0U; in RCC_PLL_GetFreqDomain_SYS() local
314 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
318 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SYS()
322 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
325 return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_SYS()
335 uint32_t pllinputfreq = 0U, pllsource = 0U; in RCC_PLL_GetFreqDomain_48M() local
345 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_48M()
349 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_48M()
353 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_48M()
356 return __LL_RCC_CALC_PLLCLK_48M_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_48M()
[all …]
/hal_stm32-3.6.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_rcc.c293 uint32_t pllinputfreq = LL_RCC_PERIPH_FREQUENCY_NO, pllsource; in LL_RCC_GetPLL1ClockFreq() local
306 pllinputfreq = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_CR_HSIDIV_Pos); in LL_RCC_GetPLL1ClockFreq()
313 pllinputfreq = CSI_VALUE; in LL_RCC_GetPLL1ClockFreq()
320 pllinputfreq = HSE_VALUE; in LL_RCC_GetPLL1ClockFreq()
345 …PLL_Clocks->PLL_P_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL1_GetP(… in LL_RCC_GetPLL1ClockFreq()
350 …PLL_Clocks->PLL_Q_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL1_GetQ(… in LL_RCC_GetPLL1ClockFreq()
355 …PLL_Clocks->PLL_R_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL1_GetR(… in LL_RCC_GetPLL1ClockFreq()
367 uint32_t pllinputfreq = LL_RCC_PERIPH_FREQUENCY_NO, pllsource; in LL_RCC_GetPLL2ClockFreq() local
380 pllinputfreq = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_CR_HSIDIV_Pos); in LL_RCC_GetPLL2ClockFreq()
387 pllinputfreq = CSI_VALUE; in LL_RCC_GetPLL2ClockFreq()
[all …]
/hal_stm32-3.6.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_ll_rcc.c479 uint32_t pllinputfreq = LL_RCC_PERIPH_FREQUENCY_NO, pllsource; in LL_RCC_GetPLL1ClockFreq() local
494 pllinputfreq = HSI_VALUE >> LL_RCC_HSI_GetDivider(); in LL_RCC_GetPLL1ClockFreq()
501 pllinputfreq = HSE_VALUE; in LL_RCC_GetPLL1ClockFreq()
526 …PLL_Clocks->PLL_P_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracv, LL_RCC_PLL1_GetP(… in LL_RCC_GetPLL1ClockFreq()
539 uint32_t pllinputfreq = LL_RCC_PERIPH_FREQUENCY_NO, pllsource; in LL_RCC_GetPLL2ClockFreq() local
555 pllinputfreq = HSI_VALUE >> LL_RCC_HSI_GetDivider(); in LL_RCC_GetPLL2ClockFreq()
562 pllinputfreq = HSE_VALUE; in LL_RCC_GetPLL2ClockFreq()
587 …PLL_Clocks->PLL_P_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracv, LL_RCC_PLL2_GetP(… in LL_RCC_GetPLL2ClockFreq()
592 …PLL_Clocks->PLL_Q_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracv, LL_RCC_PLL2_GetQ(… in LL_RCC_GetPLL2ClockFreq()
597 …PLL_Clocks->PLL_R_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracv, LL_RCC_PLL2_GetR(… in LL_RCC_GetPLL2ClockFreq()
[all …]
/hal_stm32-3.6.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_rcc.c1072 uint32_t pllinputfreq, pllsource; in RCC_PLL_GetFreqDomain_SYS() local
1082 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1086 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1090 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1093 return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_SYS()
1103 uint32_t pllinputfreq, pllsource; in RCC_PLL_GetFreqDomain_ADC() local
1113 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_ADC()
1117 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_ADC()
1121 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_ADC()
1124 return __LL_RCC_CALC_PLLCLK_ADC_FREQ(pllinputfreq, LL_RCC_PLL_GetDivider(), in RCC_PLL_GetFreqDomain_ADC()
[all …]
/hal_stm32-3.6.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_ll_rcc.c358 uint32_t pllinputfreq = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetPLL1ClockFreq() local
374 pllinputfreq = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_CR_HSIDIV_Pos); in LL_RCC_GetPLL1ClockFreq()
381 pllinputfreq = CSI_VALUE; in LL_RCC_GetPLL1ClockFreq()
388 pllinputfreq = HSE_VALUE; in LL_RCC_GetPLL1ClockFreq()
413 …pPLL_Clocks->PLL_P_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, pllm, plln, fracn, LL_RCC_PLL… in LL_RCC_GetPLL1ClockFreq()
418 …pPLL_Clocks->PLL_Q_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, pllm, plln, fracn, LL_RCC_PLL… in LL_RCC_GetPLL1ClockFreq()
423 …pPLL_Clocks->PLL_R_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, pllm, plln, fracn, LL_RCC_PLL… in LL_RCC_GetPLL1ClockFreq()
435 uint32_t pllinputfreq = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetPLL2ClockFreq() local
451 pllinputfreq = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_CR_HSIDIV_Pos); in LL_RCC_GetPLL2ClockFreq()
458 pllinputfreq = CSI_VALUE; in LL_RCC_GetPLL2ClockFreq()
[all …]
/hal_stm32-3.6.0/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_ll_rcc.c549 uint32_t pllinputfreq = 0U, pllsource = 0U; in RCC_PLL_GetFreqDomain_SYS() local
560 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
563 pllinputfreq = HSI_VALUE / 2U; in RCC_PLL_GetFreqDomain_SYS()
569 pllinputfreq = HSI48_VALUE; in RCC_PLL_GetFreqDomain_SYS()
574 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SYS()
579 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
581 pllinputfreq = HSI_VALUE / 2U; in RCC_PLL_GetFreqDomain_SYS()
586 …return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetMultiplicator(), LL_RCC_PLL_GetPrediv… in RCC_PLL_GetFreqDomain_SYS()
588 …return __LL_RCC_CALC_PLLCLK_FREQ((pllinputfreq / (LL_RCC_PLL_GetPrediv() + 1U)), LL_RCC_PLL_GetMul… in RCC_PLL_GetFreqDomain_SYS()
/hal_stm32-3.6.0/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_ll_rcc.c404 uint32_t pllinputfreq = 0U, pllsource = 0U; in RCC_PLL_GetFreqDomain_SYS() local
414 pllinputfreq = HSI_VALUE / 2U; in RCC_PLL_GetFreqDomain_SYS()
418 pllinputfreq = HSE_VALUE / (LL_RCC_PLL_GetPrediv() + 1U); in RCC_PLL_GetFreqDomain_SYS()
423 pllinputfreq = RCC_PLL2_GetFreqClockFreq() / (LL_RCC_PLL_GetPrediv() + 1U); in RCC_PLL_GetFreqDomain_SYS()
428 pllinputfreq = HSI_VALUE / 2U; in RCC_PLL_GetFreqDomain_SYS()
431 return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetMultiplicator()); in RCC_PLL_GetFreqDomain_SYS()
/hal_stm32-3.6.0/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_ll_rcc.c1078 uint32_t pllinputfreq = 0U, pllsource = 0U; in RCC_PLL_GetFreqDomain_SYS() local
1089 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1092 pllinputfreq = HSI_VALUE / 2U; in RCC_PLL_GetFreqDomain_SYS()
1097 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1102 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
1104 pllinputfreq = HSI_VALUE / 2U; in RCC_PLL_GetFreqDomain_SYS()
1109 …return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetMultiplicator(), LL_RCC_PLL_GetPrediv… in RCC_PLL_GetFreqDomain_SYS()
1111 …return __LL_RCC_CALC_PLLCLK_FREQ((pllinputfreq / (LL_RCC_PLL_GetPrediv() + 1U)), LL_RCC_PLL_GetMul… in RCC_PLL_GetFreqDomain_SYS()
/hal_stm32-3.6.0/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_ll_rcc.c270 uint32_t pllsource, pllinputfreq; in RCC_PLL_GetFreqDomain_SYS() local
280 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
284 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SYS()
288 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
291 …return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetMultiplicator(), LL_RCC_PLL_GetDivide… in RCC_PLL_GetFreqDomain_SYS()
/hal_stm32-3.6.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_ll_rcc.c654 uint32_t pllinputfreq, pllsource; in RCC_PLL_GetFreqDomain_SYS() local
666 pllinputfreq = (HSI_VALUE >> 2U); in RCC_PLL_GetFreqDomain_SYS()
670 pllinputfreq = HSI_VALUE; in RCC_PLL_GetFreqDomain_SYS()
675 pllinputfreq = HSE_VALUE; in RCC_PLL_GetFreqDomain_SYS()
678 …return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetMultiplicator(), LL_RCC_PLL_GetDivide… in RCC_PLL_GetFreqDomain_SYS()
/hal_stm32-3.6.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_ll_rcc.c923 uint32_t pllinputfreq, pllsource; in RCC_PLL1R_GetFreqDomain() local
933 pllinputfreq = HSI_VALUE; in RCC_PLL1R_GetFreqDomain()
937 pllinputfreq = HSE_VALUE; in RCC_PLL1R_GetFreqDomain()
941 pllinputfreq = HSI_VALUE; in RCC_PLL1R_GetFreqDomain()
944 return __LL_RCC_CALC_PLL1RCLK_FREQ(pllinputfreq, LL_RCC_PLL1_GetDivider(), in RCC_PLL1R_GetFreqDomain()
/hal_stm32-3.6.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_ll_rcc.c2027 uint32_t pllinputfreq; in RCC_PLL1_GetFreqDomain_SYS() local
2038 pllinputfreq = __LL_RCC_CALC_MSIS_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_PLL1_GetFreqDomain_SYS()
2045 pllinputfreq = HSI_VALUE; in RCC_PLL1_GetFreqDomain_SYS()
2049 pllinputfreq = HSE_VALUE; in RCC_PLL1_GetFreqDomain_SYS()
2053 pllinputfreq = __LL_RCC_CALC_MSIS_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_PLL1_GetFreqDomain_SYS()
2059 return __LL_RCC_CALC_PLL1CLK_FREQ(pllinputfreq, LL_RCC_PLL1_GetDivider(), in RCC_PLL1_GetFreqDomain_SYS()