/hal_stm32-3.6.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_rcc_ex.c | 1153 uint32_t srcclk, pll_oscsource, pllvco, plln; /* no init needed */ in HAL_RCCEx_GetPeriphCLKFreq() local 1297 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 1298 …pllvco = ((pllvco * plln) / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + … in HAL_RCCEx_GetPeriphCLKFreq() 1310 … plln = READ_BIT(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1N) >> RCC_PLLSAI1CFGR_PLLSAI1N_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 1314 …pllvco = ((pllvco * plln) / ((READ_BIT(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1M) >> RCC_PLLSAI1C… in HAL_RCCEx_GetPeriphCLKFreq() 1317 …pllvco = ((pllvco * plln) / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + … in HAL_RCCEx_GetPeriphCLKFreq() 1351 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 1352 …pllvco = ((pllvco * plln) / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + … in HAL_RCCEx_GetPeriphCLKFreq() 1389 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 1390 …pllvco = ((pllvco * plln) / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + … in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_rcc_ex.c | 652 uint32_t pllvco, plln, pllp; in HAL_RCCEx_GetPeriphCLKFreq() local 1023 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 1024 …frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos)… in HAL_RCCEx_GetPeriphCLKFreq() 1056 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 1057 …frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos)… in HAL_RCCEx_GetPeriphCLKFreq() 1094 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 1095 …frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos)… in HAL_RCCEx_GetPeriphCLKFreq() 1115 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 1116 …frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos)… in HAL_RCCEx_GetPeriphCLKFreq() 1137 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_rcc_ex.c | 615 uint32_t plln; in HAL_RCCEx_GetPeriphCLKFreq() local 683 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 684 …rngclk = (pllvco * plln) / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos) + 1… in HAL_RCCEx_GetPeriphCLKFreq() 880 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 881 …frequency = (pllvco * plln) / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) … in HAL_RCCEx_GetPeriphCLKFreq() 948 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 949 …frequency = (pllvco * plln) / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) … in HAL_RCCEx_GetPeriphCLKFreq() 982 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 983 …frequency = (pllvco * plln) / ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) … in HAL_RCCEx_GetPeriphCLKFreq() 1075 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_rcc_ex.c | 820 uint32_t pllvco, plln, pllp; in HAL_RCCEx_GetPeriphCLKFreq() local 941 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 942 …frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos)… in HAL_RCCEx_GetPeriphCLKFreq() 956 … plln = READ_BIT(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1N) >> RCC_PLLSAI1CFGR_PLLSAI1N_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 957 …frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1Q) >> RCC_PLLSA… in HAL_RCCEx_GetPeriphCLKFreq() 985 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 998 frequency = (pllvco * plln) / pllp; in HAL_RCCEx_GetPeriphCLKFreq() 1023 plln = READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos; in HAL_RCCEx_GetPeriphCLKFreq() 1024 …frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos)… in HAL_RCCEx_GetPeriphCLKFreq() 1038 … plln = READ_BIT(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1N) >> RCC_PLLSAI1CFGR_PLLSAI1N_Pos; in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
D | stm32l5xx_ll_rcc.c | 1454 uint32_t plln, pllpdiv; in RCC_PLL_GetFreqDomain_SAI() local 1486 plln = LL_RCC_PLL_GetN(); in RCC_PLL_GetFreqDomain_SAI() 1488 if ((plln >= 8U) && (pllpdiv >= LL_RCC_PLLP_DIV_2)) in RCC_PLL_GetFreqDomain_SAI() 1491 plln, pllpdiv); in RCC_PLL_GetFreqDomain_SAI() 1548 uint32_t plln, pllpdiv; in RCC_PLLSAI1_GetFreqDomain_SAI() local 1579 plln = LL_RCC_PLLSAI1_GetN(); in RCC_PLLSAI1_GetFreqDomain_SAI() 1581 if ((plln >= 8U) && (pllpdiv >= LL_RCC_PLLSAI1P_DIV_2)) in RCC_PLLSAI1_GetFreqDomain_SAI() 1584 plln, pllpdiv); in RCC_PLLSAI1_GetFreqDomain_SAI() 1680 uint32_t plln, pllpdiv; in RCC_PLLSAI2_GetFreqDomain_SAI() local 1711 plln = LL_RCC_PLLSAI2_GetN(); in RCC_PLLSAI2_GetFreqDomain_SAI() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_ll_rcc.c | 361 uint32_t plln; in LL_RCC_GetPLL1ClockFreq() local 403 plln = LL_RCC_PLL1_GetN(); 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() 438 uint32_t plln; in LL_RCC_GetPLL2ClockFreq() local 480 plln = LL_RCC_PLL2_GetN(); in LL_RCC_GetPLL2ClockFreq() 490 …pPLL_Clocks->PLL_P_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, pllm, plln, fracn, LL_RCC_PLL… in LL_RCC_GetPLL2ClockFreq() 495 …pPLL_Clocks->PLL_Q_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, pllm, plln, fracn, LL_RCC_PLL… in LL_RCC_GetPLL2ClockFreq() 500 …pPLL_Clocks->PLL_R_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, pllm, plln, fracn, LL_RCC_PLL… in LL_RCC_GetPLL2ClockFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32wbaxx/soc/ |
D | system_stm32wbaxx.c | 299 uint32_t plln; in SystemCoreClockUpdate() local 319 plln = (tmp2 & RCC_PLL1DIVR_PLL1N) + 1U; in SystemCoreClockUpdate() 352 …pllvco = ((float_t) tmp1 / (float_t)pllm) * (((float_t)plln + (float_t)(fracn / (float_t)0x2000U))… in SystemCoreClockUpdate()
|
D | system_stm32wbaxx_s.c | 321 uint32_t plln; in SystemCoreClockUpdate() local 341 plln = (tmp2 & RCC_PLL1DIVR_PLL1N) + 1U; in SystemCoreClockUpdate() 374 …pllvco = ((float_t) tmp1 / (float_t)pllm) * (((float_t)plln + (float_t)(fracn / (float_t)0x2000U))… in SystemCoreClockUpdate()
|
/hal_stm32-3.6.0/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_rcc.c | 1754 float_t plln; in RCC_PLL1_GetVCOOutputFreq() local 1762 plln = (float_t) tmp; in RCC_PLL1_GetVCOOutputFreq() 1802 return ((pllsrc / pllm) * (plln + (pllfracn / (float_t)0x2000u))); in RCC_PLL1_GetVCOOutputFreq()
|