Home
last modified time | relevance | path

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

/loramac-node-latest/src/boards/NucleoL476/cmsis/
Dsystem_stm32l4xx.c274 uint32_t tmp = 0U, msirange = 0U, pllvco = 0U, pllr = 2U, pllsource = 0U, pllm = 2U; in SystemCoreClockUpdate() local
313 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate()
317 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate()
321 pllvco = (msirange / pllm); in SystemCoreClockUpdate()
324 pllvco = pllvco * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 8U); in SystemCoreClockUpdate()
326 SystemCoreClock = pllvco/pllr; in SystemCoreClockUpdate()
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rcc_ex.c1171 uint32_t srcclk, pll_oscsource, pllvco, plln; /* no init needed */ in HAL_RCCEx_GetPeriphCLKFreq() local
1224 pllvco = MSIRangeTable[(__HAL_RCC_GET_MSI_RANGE() >> 4U)]; in HAL_RCCEx_GetPeriphCLKFreq()
1228 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
1234 pllvco = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
1238 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
1244 pllvco = HSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
1248 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
1253 pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
1262 frequency = RCCEx_GetSAIxPeriphCLKFreq(RCC_PERIPHCLK_SAI1, pllvco); in HAL_RCCEx_GetPeriphCLKFreq()
1270 frequency = RCCEx_GetSAIxPeriphCLKFreq(RCC_PERIPHCLK_SAI2, pllvco); in HAL_RCCEx_GetPeriphCLKFreq()
[all …]
Dstm32l4xx_hal_rcc.c1338 uint32_t pllvco, pllsource, pllr, pllm; /* no init needed */ in HAL_RCC_GetSysClockFreq() local
1395pllvco = (HSI_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in HAL_RCC_GetSysClockFreq()
1399pllvco = (HSE_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in HAL_RCC_GetSysClockFreq()
1404pllvco = (msirange / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in HAL_RCC_GetSysClockFreq()
1408 sysclockfreq = pllvco/pllr; in HAL_RCC_GetSysClockFreq()
1798 uint32_t pllvco, pllsource, pllr, pllm, sysclockfreq; /* no init needed */ in RCC_GetSysClockFreqFromPLLSource() local
1824pllvco = (HSI_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in RCC_GetSysClockFreqFromPLLSource()
1828pllvco = (HSE_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in RCC_GetSysClockFreqFromPLLSource()
1833 pllvco = (msirange / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in RCC_GetSysClockFreqFromPLLSource()
1838 sysclockfreq = pllvco/pllr; in RCC_GetSysClockFreqFromPLLSource()
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_rcc_ex.c400 uint32_t pllmul = 0U, plldiv = 0U, pllvco = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local
485 pllvco = (HSI_VALUE >> 2U); in HAL_RCCEx_GetPeriphCLKFreq()
489 pllvco = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
494 pllvco = HSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
497 pllvco = (pllvco * pllmul); in HAL_RCCEx_GetPeriphCLKFreq()
498 frequency = (pllvco/ plldiv); in HAL_RCCEx_GetPeriphCLKFreq()
Dstm32l0xx_hal_rcc.c1156 uint32_t tmpreg = 0, pllm = 0, plld = 0, pllvco = 0, msiclkrange = 0; in HAL_RCC_GetSysClockFreq() local
1188 pllvco = (HSE_VALUE * pllm) / plld; in HAL_RCC_GetSysClockFreq()
1194 pllvco = ((HSI_VALUE >> 2) * pllm) / plld; in HAL_RCC_GetSysClockFreq()
1198 pllvco = (HSI_VALUE * pllm) / plld; in HAL_RCC_GetSysClockFreq()
1201 sysclockfreq = pllvco; in HAL_RCC_GetSysClockFreq()
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_rcc.c1029 uint32_t tmpreg = 0U, pllm = 0U, plld = 0U, pllvco = 0U, msiclkrange = 0U; in HAL_RCC_GetSysClockFreq() local
1054 pllvco = (HSE_VALUE * pllm) / plld; in HAL_RCC_GetSysClockFreq()
1059 pllvco = (HSI_VALUE * pllm) / plld; in HAL_RCC_GetSysClockFreq()
1061 sysclockfreq = pllvco; in HAL_RCC_GetSysClockFreq()