Home
last modified time | relevance | path

Searched refs:pllp (Results 1 – 20 of 20) sorted by relevance

/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_rcc_ex.c820 uint32_t pllvco, plln, pllp; in HAL_RCCEx_GetPeriphCLKFreq() local
986 pllp = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLPDIV) >> RCC_PLLCFGR_PLLPDIV_Pos; in HAL_RCCEx_GetPeriphCLKFreq()
987 if (pllp == 0U) in HAL_RCCEx_GetPeriphCLKFreq()
991 pllp = 17U; in HAL_RCCEx_GetPeriphCLKFreq()
995 pllp = 7U; in HAL_RCCEx_GetPeriphCLKFreq()
998 frequency = (pllvco * plln) / pllp; in HAL_RCCEx_GetPeriphCLKFreq()
1569pllp = READ_BIT(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1PDIV) >> RCC_PLLSAI1CFGR_PLLSAI1PDIV_Pos; in HAL_RCCEx_GetPeriphCLKFreq()
1570 if (pllp == 0U) in HAL_RCCEx_GetPeriphCLKFreq()
1574 pllp = 17U; in HAL_RCCEx_GetPeriphCLKFreq()
1578 pllp = 7U; in HAL_RCCEx_GetPeriphCLKFreq()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_rcc_ex.c1155 uint32_t pllp; /* no init needed */ in HAL_RCCEx_GetPeriphCLKFreq() local
1354 pllp = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLPDIV) >> RCC_PLLCFGR_PLLPDIV_Pos; in HAL_RCCEx_GetPeriphCLKFreq()
1355 if(pllp == 0U) in HAL_RCCEx_GetPeriphCLKFreq()
1359 pllp = 17U; in HAL_RCCEx_GetPeriphCLKFreq()
1363 pllp = 7U; in HAL_RCCEx_GetPeriphCLKFreq()
1366 frequency = (pllvco / pllp); in HAL_RCCEx_GetPeriphCLKFreq()
3311 uint32_t pllp = 0U; in RCCEx_GetSAIxPeriphCLKFreq() local
3353 pllp = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLPDIV) >> RCC_PLLCFGR_PLLPDIV_Pos; in RCCEx_GetSAIxPeriphCLKFreq()
3355 if(pllp == 0U) in RCCEx_GetSAIxPeriphCLKFreq()
3359 pllp = 17U; in RCCEx_GetSAIxPeriphCLKFreq()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_rcc_ex.c652 uint32_t pllvco, plln, pllp; in HAL_RCCEx_GetPeriphCLKFreq() local
1160 pllp = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLPDIV) >> RCC_PLLCFGR_PLLPDIV_Pos; in HAL_RCCEx_GetPeriphCLKFreq()
1161 if(pllp == 0U) in HAL_RCCEx_GetPeriphCLKFreq()
1165 pllp = 17U; in HAL_RCCEx_GetPeriphCLKFreq()
1169 pllp = 7U; in HAL_RCCEx_GetPeriphCLKFreq()
1172 frequency = (pllvco * plln) / pllp; in HAL_RCCEx_GetPeriphCLKFreq()
1197 pllp = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLPDIV) >> RCC_PLLCFGR_PLLPDIV_Pos; in HAL_RCCEx_GetPeriphCLKFreq()
1198 if(pllp == 0U) in HAL_RCCEx_GetPeriphCLKFreq()
1202 pllp = 17U; in HAL_RCCEx_GetPeriphCLKFreq()
1206 pllp = 7U; in HAL_RCCEx_GetPeriphCLKFreq()
[all …]
/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
234 pllp = (((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >>16) + 1 ) *2; in SystemCoreClockUpdate()
235 SystemCoreClock = pllvco/pllp; in SystemCoreClockUpdate()
/hal_stm32-3.5.0/stm32cube/stm32f2xx/soc/
Dsystem_stm32f2xx.c206 uint32_t tmp = 0, pllvco = 0, pllp = 2, pllsource = 0, pllm = 2; in SystemCoreClockUpdate() local
238 pllp = (((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >>16) + 1 ) *2; in SystemCoreClockUpdate()
239 SystemCoreClock = pllvco/pllp; in SystemCoreClockUpdate()
/hal_stm32-3.5.0/stm32cube/stm32h5xx/soc/
Dsystem_stm32h5xx_s.c337 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local
387 pllp = (((RCC->PLL1DIVR & RCC_PLL1DIVR_PLL1P) >>RCC_PLL1DIVR_PLL1P_Pos) + 1U ) ; in SystemCoreClockUpdate()
388 SystemCoreClock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate()
Dsystem_stm32h5xx.c323 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local
373 pllp = (((RCC->PLL1DIVR & RCC_PLL1DIVR_PLL1P) >>RCC_PLL1DIVR_PLL1P_Pos) + 1U ) ; 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.c317 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local
371 pllp = (((RCC->PLL1DIVR & RCC_PLL1DIVR_P1) >>9) + 1U ) ; in SystemCoreClockUpdate()
372 common_system_clock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate()
Dsystem_stm32h7xx_dualcore_bootcm7_cm4gated.c323 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local
377 pllp = (((RCC->PLL1DIVR & RCC_PLL1DIVR_P1) >>9) + 1U ) ; in SystemCoreClockUpdate()
378 common_system_clock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate()
Dsystem_stm32h7xx_dualcore_boot_cm4_cm7.c325 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local
379 pllp = (((RCC->PLL1DIVR & RCC_PLL1DIVR_P1) >>9) + 1U ) ; in SystemCoreClockUpdate()
380 common_system_clock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate()
Dsystem_stm32h7xx_singlecore.c318 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local
372 pllp = (((RCC->PLL1DIVR & RCC_PLL1DIVR_P1) >>9) + 1U ) ; in SystemCoreClockUpdate()
373 SystemCoreClock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate()
Dsystem_stm32h7xx.c342 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local
397 pllp = (((RCC->PLL1DIVR & RCC_PLL1DIVR_P1) >>9) + 1U ) ; in SystemCoreClockUpdate()
398 common_system_clock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate()
/hal_stm32-3.5.0/stm32cube/stm32f4xx/soc/
Dsystem_stm32f4xx.c222 uint32_t tmp = 0, pllvco = 0, pllp = 2, pllsource = 0, pllm = 2; in SystemCoreClockUpdate() local
254 pllp = (((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >>16) + 1 ) *2; in SystemCoreClockUpdate()
255 SystemCoreClock = pllvco/pllp; in SystemCoreClockUpdate()
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_rcc.c887 uint32_t pllm = 0U, pllvco = 0U, pllp = 0U; in HAL_RCC_GetSysClockFreq() local
918 pllp = ((((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) + 1U) *2U); in HAL_RCC_GetSysClockFreq()
920 sysclockfreq = pllvco/pllp; in HAL_RCC_GetSysClockFreq()
Dstm32f4xx_hal_rcc_ex.c3055 uint32_t pllp = 0U; in HAL_RCC_GetSysClockFreq() local
3087 pllp = ((((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) + 1U) *2U); in HAL_RCC_GetSysClockFreq()
3089 sysclockfreq = pllvco/pllp; in HAL_RCC_GetSysClockFreq()
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_rcc.c990 uint32_t pllm = 0U, pllvco = 0U, pllp = 0U; in HAL_RCC_GetSysClockFreq() local
1021 pllp = ((((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) + 1U) *2U); in HAL_RCC_GetSysClockFreq()
1023 sysclockfreq = pllvco/pllp; in HAL_RCC_GetSysClockFreq()
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_rcc.c1003 uint32_t pllm = 0, pllvco = 0, pllp = 0; in HAL_RCC_GetSysClockFreq() local
1034 pllp = ((((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) + 1) * 2); in HAL_RCC_GetSysClockFreq()
1036 sysclockfreq = pllvco / pllp; in HAL_RCC_GetSysClockFreq()
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_rcc.c1392 uint32_t pllp; in HAL_RCC_GetPLL1PFreq() local
1395 pllp = ((RCC->PLL1DIVR & RCC_PLL1DIVR_PLL1P) >> RCC_PLL1DIVR_PLL1P_Pos) + 1U; in HAL_RCC_GetPLL1PFreq()
1398 return ((uint32_t)RCC_PLL1_GetVCOOutputFreq() / pllp); in HAL_RCC_GetPLL1PFreq()
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_rcc.c1364 uint32_t pllp; in HAL_RCC_GetSysClockFreq() local
1441 pllp = (((RCC->PLL1DIVR & RCC_PLL1DIVR_PLL1P) >> RCC_PLL1DIVR_PLL1P_Pos) + 1U) ; in HAL_RCC_GetSysClockFreq()
1442 sysclockfreq = (uint32_t)(float_t)(pllvco / (float_t)pllp); in HAL_RCC_GetSysClockFreq()
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_rcc.c1390 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue; in HAL_RCC_GetSysClockFreq() local
1458 pllp = (((RCC->PLL1DIVR & RCC_PLL1DIVR_P1) >> 9) + 1U) ; in HAL_RCC_GetSysClockFreq()
1459 sysclockfreq = (uint32_t)(float_t)(pllvco / (float_t)pllp); in HAL_RCC_GetSysClockFreq()