/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_ll_rcc.c | 360 uint32_t pllm; in LL_RCC_GetPLL1ClockFreq() local 402 pllm = LL_RCC_PLL1_GetM(); in LL_RCC_GetPLL1ClockFreq() 409 if (pllm != 0U) 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() 437 uint32_t pllm; in LL_RCC_GetPLL2ClockFreq() local 479 pllm = LL_RCC_PLL2_GetM(); in LL_RCC_GetPLL2ClockFreq() 486 if (pllm != 0U) in LL_RCC_GetPLL2ClockFreq() 490 …pPLL_Clocks->PLL_P_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, pllm, plln, fracn, LL_RCC_PLL… in LL_RCC_GetPLL2ClockFreq() [all …]
|
D | stm32h5xx_hal_rcc.c | 1365 uint32_t pllm; in HAL_RCC_GetSysClockFreq() local 1403 pllm = ((RCC->PLL1CFGR & RCC_PLL1CFGR_PLL1M) >> RCC_PLL1CFGR_PLL1M_Pos); in HAL_RCC_GetSysClockFreq() 1408 if (pllm != 0U) in HAL_RCC_GetSysClockFreq() 1417 …pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_P… in HAL_RCC_GetSysClockFreq() 1422 …pllvco = ((float_t)HSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in HAL_RCC_GetSysClockFreq() 1429 …pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in HAL_RCC_GetSysClockFreq() 1436 …pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in HAL_RCC_GetSysClockFreq()
|
/hal_stm32-3.5.0/stm32cube/stm32h7xx/soc/ |
D | system_stm32h7xx_dualcore_bootcm4_cm7gated.c | 317 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local 343 pllm = ((RCC->PLLCKSELR & RCC_PLLCKSELR_DIVM1)>> 4) ; in SystemCoreClockUpdate() 347 if (pllm != 0U) in SystemCoreClockUpdate() 354 …pllvco = ( (float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 359 …pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 363 …pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 368 …pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_N… in SystemCoreClockUpdate()
|
D | system_stm32h7xx_dualcore_bootcm7_cm4gated.c | 323 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local 349 pllm = ((RCC->PLLCKSELR & RCC_PLLCKSELR_DIVM1)>> 4) ; in SystemCoreClockUpdate() 353 if (pllm != 0U) in SystemCoreClockUpdate() 360 …pllvco = ( (float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 365 …pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 369 …pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 374 …pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_N… in SystemCoreClockUpdate()
|
D | system_stm32h7xx_dualcore_boot_cm4_cm7.c | 325 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local 351 pllm = ((RCC->PLLCKSELR & RCC_PLLCKSELR_DIVM1)>> 4) ; in SystemCoreClockUpdate() 355 if (pllm != 0U) in SystemCoreClockUpdate() 362 …pllvco = ( (float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 367 …pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 371 …pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 376 …pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_N… in SystemCoreClockUpdate()
|
D | system_stm32h7xx_singlecore.c | 318 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local 344 pllm = ((RCC->PLLCKSELR & RCC_PLLCKSELR_DIVM1)>> 4) ; in SystemCoreClockUpdate() 348 if (pllm != 0U) in SystemCoreClockUpdate() 355 …pllvco = ( (float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 360 …pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 364 …pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 369 …pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_N… in SystemCoreClockUpdate()
|
D | system_stm32h7xx.c | 342 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local 369 pllm = ((RCC->PLLCKSELR & RCC_PLLCKSELR_DIVM1)>> 4) ; in SystemCoreClockUpdate() 373 if (pllm != 0U) in SystemCoreClockUpdate() 380 …pllvco = ( (float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 385 …pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 389 …pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 394 …pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_N… in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32l5xx/soc/ |
D | system_stm32l5xx.c | 264 uint32_t tmp, msirange, pllvco, pllsource, pllm, pllr; in SystemCoreClockUpdate() local 298 pllm = ((RCC->PLLCFGR & RCC_PLLCFGR_PLLM) >> 4U) + 1U ; in SystemCoreClockUpdate() 303 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate() 307 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate() 311 pllvco = (msirange / pllm); in SystemCoreClockUpdate()
|
D | system_stm32l5xx_s.c | 290 uint32_t tmp, msirange, pllvco, pllsource, pllm, pllr; in SystemCoreClockUpdate() local 324 pllm = ((RCC->PLLCFGR & RCC_PLLCFGR_PLLM) >> 4U) + 1U ; in SystemCoreClockUpdate() 329 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate() 333 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate() 337 pllvco = (msirange / pllm); in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32l4xx/soc/ |
D | system_stm32l4xx.c | 253 uint32_t tmp, msirange, pllvco, pllsource, pllm, pllr; in SystemCoreClockUpdate() local 287 pllm = ((RCC->PLLCFGR & RCC_PLLCFGR_PLLM) >> 4U) + 1U ; in SystemCoreClockUpdate() 292 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate() 296 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate() 300 pllvco = (msirange / pllm); in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32wlxx/soc/ |
D | system_stm32wlxx.c | 268 uint32_t tmp, msirange, pllvco, pllr, pllsource , pllm; in SystemCoreClockUpdate() local 307 pllm = ((RCC->PLLCFGR & RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + 1UL ; in SystemCoreClockUpdate() 312 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate() 316 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate() 320 pllvco = (msirange / pllm); in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32wbxx/soc/ |
D | system_stm32wbxx.c | 299 uint32_t tmp, msirange, pllvco, pllr, pllsource, pllm; in SystemCoreClockUpdate() local 327 pllm = ((RCC->PLLCFGR & RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + 1UL ; in SystemCoreClockUpdate() 331 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate() 335 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate() 339 pllvco = (msirange / pllm); in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/soc/ |
D | system_stm32u5xx.c | 273 uint32_t pllr, pllsource, pllm , tmp, pllfracen, msirange; in SystemCoreClockUpdate() local 311 pllm = ((RCC->PLL1CFGR & RCC_PLL1CFGR_PLL1M)>> RCC_PLL1CFGR_PLL1M_Pos) + 1U; 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()
|
D | system_stm32u5xx_s.c | 296 uint32_t pllr, pllsource, pllm , tmp, pllfracen, msirange; in SystemCoreClockUpdate() local 334 pllm = ((RCC->PLL1CFGR & RCC_PLL1CFGR_PLL1M)>> RCC_PLL1CFGR_PLL1M_Pos) + 1U; 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()
|
/hal_stm32-3.5.0/stm32cube/stm32h5xx/soc/ |
D | system_stm32h5xx_s.c | 337 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local 360 pllm = ((RCC->PLL1CFGR & RCC_PLL1CFGR_PLL1M)>> RCC_PLL1CFGR_PLL1M_Pos); in SystemCoreClockUpdate() 368 …pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_P… in SystemCoreClockUpdate() 373 …pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 378 …pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
|
D | system_stm32h5xx.c | 323 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local 346 pllm = ((RCC->PLL1CFGR & RCC_PLL1CFGR_PLL1M)>> RCC_PLL1CFGR_PLL1M_Pos); in SystemCoreClockUpdate() 354 …pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_P… in SystemCoreClockUpdate() 359 …pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 364 …pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_rcc.c | 1066 uint32_t pllvco, pllsource, pllr, pllm; in HAL_RCC_GetSysClockFreq() local 1087 pllm = (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + 1U ; in HAL_RCC_GetSysClockFreq() 1092 … pllvco = (HSE_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in HAL_RCC_GetSysClockFreq() 1097 … pllvco = (HSI_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in HAL_RCC_GetSysClockFreq() 1362 uint32_t pllvco, pllsource, pllr, pllm; in RCC_GetSysClockFreqFromPLLSource() local 1369 pllm = (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + 1U ; in RCC_GetSysClockFreqFromPLLSource() 1374 … pllvco = (HSE_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in RCC_GetSysClockFreqFromPLLSource() 1379 … pllvco = (HSI_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in RCC_GetSysClockFreqFromPLLSource()
|
/hal_stm32-3.5.0/stm32cube/stm32f7xx/soc/ |
D | system_stm32f7xx.c | 202 uint32_t tmp = 0, pllvco = 0, pllp = 2, pllsource = 0, pllm = 2; in SystemCoreClockUpdate() local 221 pllm = RCC->PLLCFGR & RCC_PLLCFGR_PLLM; in SystemCoreClockUpdate() 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()
|
/hal_stm32-3.5.0/stm32cube/stm32g4xx/soc/ |
D | system_stm32g4xx.c | 230 uint32_t tmp, pllvco, pllr, pllsource, pllm; in SystemCoreClockUpdate() local 248 pllm = ((RCC->PLLCFGR & RCC_PLLCFGR_PLLM) >> 4) + 1U ; in SystemCoreClockUpdate() 251 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate() 255 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32g0xx/soc/ |
D | system_stm32g0xx.c | 239 uint32_t pllm; in SystemCoreClockUpdate() local 262 pllm = ((RCC->PLLCFGR & RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + 1UL; in SystemCoreClockUpdate() 266 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate() 270 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_rcc.c | 1435 uint32_t pllvco, pllsource, pllr, pllm; /* no init needed */ in HAL_RCC_GetSysClockFreq() local 1489 pllm = ((RCC->PLLCFGR & RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + 1U ; in HAL_RCC_GetSysClockFreq() 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() 1992 uint32_t msirange, pllvco, pllsource, pllr, pllm, sysclockfreq; /* no init needed */ in RCC_GetSysClockFreqFromPLLSource() local 1998 pllm = (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + 1U ; in RCC_GetSysClockFreqFromPLLSource() 2003 … pllvco = (HSI_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in RCC_GetSysClockFreqFromPLLSource() 2007 … pllvco = (HSE_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in RCC_GetSysClockFreqFromPLLSource()
|
/hal_stm32-3.5.0/stm32cube/stm32f2xx/soc/ |
D | system_stm32f2xx.c | 206 uint32_t tmp = 0, pllvco = 0, pllp = 2, pllsource = 0, pllm = 2; in SystemCoreClockUpdate() local 225 pllm = RCC->PLLCFGR & RCC_PLLCFGR_PLLM; in SystemCoreClockUpdate() 230 pllvco = (HSE_VALUE / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 6); in SystemCoreClockUpdate() 235 pllvco = (HSI_VALUE / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 6); in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_rcc.c | 1390 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue; in HAL_RCC_GetSysClockFreq() local 1425 pllm = ((RCC->PLLCKSELR & RCC_PLLCKSELR_DIVM1) >> 4) ; in HAL_RCC_GetSysClockFreq() 1429 if (pllm != 0U) in HAL_RCC_GetSysClockFreq() 1438 …pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_N… in HAL_RCC_GetSysClockFreq() 1442 …pllvco = ((float_t)HSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in HAL_RCC_GetSysClockFreq() 1447 …pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in HAL_RCC_GetSysClockFreq() 1451 …pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in HAL_RCC_GetSysClockFreq() 1455 …pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in HAL_RCC_GetSysClockFreq()
|
/hal_stm32-3.5.0/stm32cube/stm32f4xx/soc/ |
D | system_stm32f4xx.c | 222 uint32_t tmp = 0, pllvco = 0, pllp = 2, pllsource = 0, pllm = 2; in SystemCoreClockUpdate() local 241 pllm = RCC->PLLCFGR & RCC_PLLCFGR_PLLM; in SystemCoreClockUpdate() 246 pllvco = (HSE_VALUE / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 6); in SystemCoreClockUpdate() 251 pllvco = (HSI_VALUE / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 6); in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/soc/ |
D | system_stm32wbaxx.c | 296 uint32_t pllm; in SystemCoreClockUpdate() local 316 pllm = ((tmp1 & RCC_PLL1CFGR_PLL1M) >> RCC_PLL1CFGR_PLL1M_Pos) + 1U; in SystemCoreClockUpdate() 350 …pllvco = ((float_t) tmp1 / (float_t)pllm) * (((float_t)plln + (float_t)(fracn / (float_t)0x2000U))… in SystemCoreClockUpdate()
|