Home
last modified time | relevance | path

Searched refs:pllvco (Results 1 – 25 of 39) sorted by relevance

12

/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_rcc_ex.c820 uint32_t pllvco, plln, pllp; in HAL_RCCEx_GetPeriphCLKFreq() local
871 pllvco = MSIRangeTable[(__HAL_RCC_GET_MSI_RANGE() >> 4U)]; in HAL_RCCEx_GetPeriphCLKFreq()
875 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
881 pllvco = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
885 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
891 pllvco = HSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
895 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
900 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
907 frequency = RCCEx_GetSAIxPeriphCLKFreq(RCC_PERIPHCLK_SAI1, pllvco); in HAL_RCCEx_GetPeriphCLKFreq()
911 frequency = RCCEx_GetSAIxPeriphCLKFreq(RCC_PERIPHCLK_SAI2, pllvco); in HAL_RCCEx_GetPeriphCLKFreq()
[all …]
Dstm32l5xx_hal_rcc.c1435 uint32_t pllvco, pllsource, pllr, pllm; /* no init needed */ in HAL_RCC_GetSysClockFreq() local
1494 pllvco = (HSI_VALUE / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in HAL_RCC_GetSysClockFreq()
1498 pllvco = (HSE_VALUE / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in HAL_RCC_GetSysClockFreq()
1503 pllvco = (msirange / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in HAL_RCC_GetSysClockFreq()
1507 sysclockfreq = pllvco / pllr; in HAL_RCC_GetSysClockFreq()
1992 uint32_t msirange, pllvco, pllsource, pllr, pllm, sysclockfreq; /* no init needed */ in RCC_GetSysClockFreqFromPLLSource() local
2003pllvco = (HSI_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in RCC_GetSysClockFreqFromPLLSource()
2007pllvco = (HSE_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in RCC_GetSysClockFreqFromPLLSource()
2021 pllvco = MSIRangeTable[msirange]; in RCC_GetSysClockFreqFromPLLSource()
2025 pllvco = 0; in RCC_GetSysClockFreqFromPLLSource()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_rcc_ex.c1153 uint32_t srcclk, pll_oscsource, pllvco, plln; /* no init needed */ in HAL_RCCEx_GetPeriphCLKFreq() local
1215 pllvco = MSIRangeTable[(__HAL_RCC_GET_MSI_RANGE() >> 4U)]; in HAL_RCCEx_GetPeriphCLKFreq()
1219 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
1225 pllvco = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
1229 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
1235 pllvco = HSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
1239 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
1244 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
1253 frequency = RCCEx_GetSAIxPeriphCLKFreq(RCC_PERIPHCLK_SAI1, pllvco); in HAL_RCCEx_GetPeriphCLKFreq()
1261 frequency = RCCEx_GetSAIxPeriphCLKFreq(RCC_PERIPHCLK_SAI2, pllvco); in HAL_RCCEx_GetPeriphCLKFreq()
[all …]
Dstm32l4xx_hal_rcc.c1399 uint32_t pllvco, pllsource, pllr, pllm; /* no init needed */ in HAL_RCC_GetSysClockFreq() local
1455 pllvco = HSI_VALUE; in HAL_RCC_GetSysClockFreq()
1459 pllvco = HSE_VALUE; in HAL_RCC_GetSysClockFreq()
1464 pllvco = msirange; in HAL_RCC_GetSysClockFreq()
1468 pllvco = (pllvco * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos)) / pllm; in HAL_RCC_GetSysClockFreq()
1470 sysclockfreq = pllvco / pllr; in HAL_RCC_GetSysClockFreq()
1880 uint32_t msirange, pllvco, pllsource, pllr, pllm, sysclockfreq; /* no init needed */ in RCC_GetSysClockFreqFromPLLSource() local
1890 pllvco = HSI_VALUE; in RCC_GetSysClockFreqFromPLLSource()
1894 pllvco = HSE_VALUE; in RCC_GetSysClockFreqFromPLLSource()
1908 pllvco = MSIRangeTable[msirange]; in RCC_GetSysClockFreqFromPLLSource()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32u5xx/soc/
Dsystem_stm32u5xx.c274 float_t fracn1, pllvco; in SystemCoreClockUpdate() local
318 pllvco = (float_t)0U; in SystemCoreClockUpdate()
322 pllvco = ((float_t)HSI_VALUE / (float_t)pllm); in SystemCoreClockUpdate()
326 pllvco = ((float_t)HSE_VALUE / (float_t)pllm); in SystemCoreClockUpdate()
330 pllvco = ((float_t)msirange / (float_t)pllm); in SystemCoreClockUpdate()
334pllvco = pllvco * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_PLL1N) + (fracn1/(float_t)0x20… in SystemCoreClockUpdate()
336 SystemCoreClock = (uint32_t)((uint32_t)pllvco/pllr); in SystemCoreClockUpdate()
Dsystem_stm32u5xx_s.c297 float_t fracn1, pllvco; in SystemCoreClockUpdate() local
341 pllvco = (float_t)0U; in SystemCoreClockUpdate()
345 pllvco = ((float_t)HSI_VALUE / (float_t)pllm); in SystemCoreClockUpdate()
349 pllvco = ((float_t)HSE_VALUE / (float_t)pllm); in SystemCoreClockUpdate()
353 pllvco = ((float_t)msirange / (float_t)pllm); in SystemCoreClockUpdate()
357pllvco = pllvco * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_PLL1N) + (fracn1/(float_t)0x20… in SystemCoreClockUpdate()
359 SystemCoreClock = (uint32_t)((uint32_t)pllvco/pllr); in SystemCoreClockUpdate()
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_rcc_ex.c652 uint32_t pllvco, plln, pllp; in HAL_RCCEx_GetPeriphCLKFreq() local
692 pllvco = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
696 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
703 pllvco = HSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
707 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
712 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
716 pllvco = (pllvco / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + 1U)); in HAL_RCCEx_GetPeriphCLKFreq()
1024 …frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos)… in HAL_RCCEx_GetPeriphCLKFreq()
1057 …frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos)… in HAL_RCCEx_GetPeriphCLKFreq()
1095 …frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos)… in HAL_RCCEx_GetPeriphCLKFreq()
[all …]
Dstm32g4xx_hal_rcc.c1066 uint32_t pllvco, pllsource, pllr, pllm; in HAL_RCC_GetSysClockFreq() local
1092pllvco = (HSE_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in HAL_RCC_GetSysClockFreq()
1097pllvco = (HSI_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in HAL_RCC_GetSysClockFreq()
1101 sysclockfreq = pllvco/pllr; in HAL_RCC_GetSysClockFreq()
1362 uint32_t pllvco, pllsource, pllr, pllm; in RCC_GetSysClockFreqFromPLLSource() local
1374pllvco = (HSE_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in RCC_GetSysClockFreqFromPLLSource()
1379pllvco = (HSI_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in RCC_GetSysClockFreqFromPLLSource()
1384 sysclockfreq = pllvco/pllr; in RCC_GetSysClockFreqFromPLLSource()
/hal_stm32-3.5.0/stm32cube/stm32l5xx/soc/
Dsystem_stm32l5xx.c264 uint32_t tmp, msirange, pllvco, pllsource, pllm, pllr; in SystemCoreClockUpdate() local
303 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate()
307 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate()
311 pllvco = (msirange / pllm); in SystemCoreClockUpdate()
314 pllvco = pllvco * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 8U); in SystemCoreClockUpdate()
316 SystemCoreClock = pllvco/pllr; in SystemCoreClockUpdate()
Dsystem_stm32l5xx_s.c290 uint32_t tmp, msirange, pllvco, pllsource, pllm, pllr; in SystemCoreClockUpdate() local
329 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate()
333 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate()
337 pllvco = (msirange / pllm); in SystemCoreClockUpdate()
340 pllvco = pllvco * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 8U); in SystemCoreClockUpdate()
342 SystemCoreClock = pllvco/pllr; in SystemCoreClockUpdate()
/hal_stm32-3.5.0/stm32cube/stm32l4xx/soc/
Dsystem_stm32l4xx.c253 uint32_t tmp, msirange, pllvco, pllsource, pllm, pllr; in SystemCoreClockUpdate() local
292 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate()
296 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate()
300 pllvco = (msirange / pllm); in SystemCoreClockUpdate()
303 pllvco = pllvco * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 8U); in SystemCoreClockUpdate()
305 SystemCoreClock = pllvco/pllr; in SystemCoreClockUpdate()
/hal_stm32-3.5.0/stm32cube/stm32wlxx/soc/
Dsystem_stm32wlxx.c268 uint32_t tmp, msirange, pllvco, pllr, pllsource , pllm; in SystemCoreClockUpdate() local
312 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate()
316 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate()
320 pllvco = (msirange / pllm); in SystemCoreClockUpdate()
324 pllvco = pllvco * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in SystemCoreClockUpdate()
327 SystemCoreClock = pllvco/pllr; in SystemCoreClockUpdate()
/hal_stm32-3.5.0/stm32cube/stm32wbxx/soc/
Dsystem_stm32wbxx.c299 uint32_t tmp, msirange, pllvco, pllr, pllsource, pllm; in SystemCoreClockUpdate() local
331 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate()
335 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate()
339 pllvco = (msirange / pllm); in SystemCoreClockUpdate()
342 pllvco = pllvco * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in SystemCoreClockUpdate()
345 SystemCoreClock = pllvco / pllr; in SystemCoreClockUpdate()
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_rcc_ex.c614 uint32_t pllvco; in HAL_RCCEx_GetPeriphCLKFreq() local
656 pllvco = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
660 pllvco = HSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
664 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
668 pllvco = (pllvco / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + 1U)); in HAL_RCCEx_GetPeriphCLKFreq()
684 …rngclk = (pllvco * plln) / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos) + 1… in HAL_RCCEx_GetPeriphCLKFreq()
881 …frequency = (pllvco * plln) / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) … in HAL_RCCEx_GetPeriphCLKFreq()
949 …frequency = (pllvco * plln) / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) … in HAL_RCCEx_GetPeriphCLKFreq()
983 …frequency = (pllvco * plln) / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) … in HAL_RCCEx_GetPeriphCLKFreq()
1076 …frequency = (pllvco * plln) / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos) … in HAL_RCCEx_GetPeriphCLKFreq()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g4xx/soc/
Dsystem_stm32g4xx.c230 uint32_t tmp, pllvco, pllr, pllsource, pllm; in SystemCoreClockUpdate() local
251 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate()
255 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate()
257 pllvco = pllvco * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 8); in SystemCoreClockUpdate()
259 SystemCoreClock = pllvco/pllr; in SystemCoreClockUpdate()
/hal_stm32-3.5.0/stm32cube/stm32g0xx/soc/
Dsystem_stm32g0xx.c236 uint32_t pllvco; in SystemCoreClockUpdate() local
266 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate()
270 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate()
272 pllvco = pllvco * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in SystemCoreClockUpdate()
275 SystemCoreClock = pllvco/pllr; in SystemCoreClockUpdate()
/hal_stm32-3.5.0/stm32cube/stm32h5xx/soc/
Dsystem_stm32h5xx_s.c338 float_t fracn1, pllvco; in SystemCoreClockUpdate() local
368pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_P… in SystemCoreClockUpdate()
373pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
378pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
383 pllvco = (float_t) 0U; in SystemCoreClockUpdate()
388 SystemCoreClock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate()
Dsystem_stm32h5xx.c324 float_t fracn1, pllvco; in SystemCoreClockUpdate() local
354pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_P… in SystemCoreClockUpdate()
359pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
364pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
369 pllvco = (float_t) 0U; in SystemCoreClockUpdate()
374 SystemCoreClock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate()
/hal_stm32-3.5.0/stm32cube/stm32h7xx/soc/
Dsystem_stm32h7xx_dualcore_bootcm4_cm7gated.c319 float_t fracn1, pllvco; in SystemCoreClockUpdate() local
354pllvco = ( (float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
359pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
363pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
368pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_N… in SystemCoreClockUpdate()
372 common_system_clock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate()
Dsystem_stm32h7xx_dualcore_bootcm7_cm4gated.c325 float_t fracn1, pllvco; in SystemCoreClockUpdate() local
360pllvco = ( (float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
365pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
369pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
374pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_N… in SystemCoreClockUpdate()
378 common_system_clock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate()
Dsystem_stm32h7xx_dualcore_boot_cm4_cm7.c327 float_t fracn1, pllvco; in SystemCoreClockUpdate() local
362pllvco = ( (float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
367pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
371pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
376pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_N… in SystemCoreClockUpdate()
380 common_system_clock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate()
Dsystem_stm32h7xx_singlecore.c319 float_t fracn1, pllvco; in SystemCoreClockUpdate() local
355pllvco = ( (float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
360pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
364pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
369pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_N… in SystemCoreClockUpdate()
373 SystemCoreClock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate()
Dsystem_stm32h7xx.c344 float_t fracn1, pllvco; in SystemCoreClockUpdate() local
380pllvco = ( (float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
385pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
389pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
394pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_N… in SystemCoreClockUpdate()
398 common_system_clock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate()
/hal_stm32-3.5.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_rcc_ex.c387 uint32_t pllmul, plldiv, pllvco; /* no init needed */ in HAL_RCCEx_GetPeriphCLKFreq() local
480 pllvco = (HSI_VALUE >> 2U); in HAL_RCCEx_GetPeriphCLKFreq()
484 pllvco = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
489 pllvco = HSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
492 pllvco = (pllvco * pllmul); in HAL_RCCEx_GetPeriphCLKFreq()
493 frequency = (pllvco/ plldiv); in HAL_RCCEx_GetPeriphCLKFreq()
/hal_stm32-3.5.0/stm32cube/stm32f7xx/soc/
Dsystem_stm32f7xx.c202 uint32_t tmp = 0, pllvco = 0, pllp = 2, pllsource = 0, pllm = 2; in SystemCoreClockUpdate() local
226 pllvco = (HSE_VALUE / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 6); in SystemCoreClockUpdate()
231 pllvco = (HSI_VALUE / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 6); in SystemCoreClockUpdate()
235 SystemCoreClock = pllvco/pllp; in SystemCoreClockUpdate()

12