Home
last modified time | relevance | path

Searched refs:prediv (Results 1 – 4 of 4) sorted by relevance

/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_rcc.c1094 uint32_t tmpreg = 0U, prediv = 0U, pllclk = 0U, pllmul = 0U; in HAL_RCC_GetSysClockFreq() local
1116prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV1) >> RCC_CFGR2_PREDIV1_Pos]; in HAL_RCC_GetSysClockFreq()
1118prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR & RCC_CFGR_PLLXTPRE) >> RCC_CFGR_PLLXTPRE_Pos]; in HAL_RCC_GetSysClockFreq()
1128 …nt64_t)HSE_VALUE * (uint64_t)pll2mul * (uint64_t)pllmul) / ((uint64_t)prediv2 * (uint64_t)prediv)); in HAL_RCC_GetSysClockFreq()
1133 pllclk = (uint32_t)((HSE_VALUE * pllmul) / prediv); in HAL_RCC_GetSysClockFreq()
1144 pllclk = (uint32_t)((HSE_VALUE * pllmul) / prediv); in HAL_RCC_GetSysClockFreq()
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_hal_rcc_ex.c1533 uint32_t pllmul = 0U, pllsource = 0U, prediv = 0U, pllclk = 0U; in RCC_GetPLLCLKFreq() local
1541 prediv = (RCC->CFGR2 & RCC_CFGR2_PREDIV) + 1U; in RCC_GetPLLCLKFreq()
1543 pllclk = (HSE_VALUE/prediv) * pllmul; in RCC_GetPLLCLKFreq()
1551 prediv = (RCC->CFGR2 & RCC_CFGR2_PREDIV) + 1U; in RCC_GetPLLCLKFreq()
1555 pllclk = (HSE_VALUE/prediv) * pllmul; in RCC_GetPLLCLKFreq()
1560 pllclk = (HSI_VALUE/prediv) * pllmul; in RCC_GetPLLCLKFreq()
Dstm32f3xx_hal_rcc.c968 uint32_t tmpreg = 0U, prediv = 0U, pllclk = 0U, pllmul = 0U; in HAL_RCC_GetSysClockFreq() local
984prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV) >> RCC_CFGR2_PREDIV_Pos]; in HAL_RCC_GetSysClockFreq()
989 pllclk = (uint32_t)((uint64_t) HSE_VALUE / (uint64_t) (prediv)) * ((uint64_t) pllmul); in HAL_RCC_GetSysClockFreq()
1000 pllclk = (uint32_t)((uint64_t) HSE_VALUE / (uint64_t) (prediv)) * ((uint64_t) pllmul); in HAL_RCC_GetSysClockFreq()
1005 pllclk = (uint32_t)((uint64_t) HSI_VALUE / (uint64_t) (prediv)) * ((uint64_t) pllmul); in HAL_RCC_GetSysClockFreq()
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_hal_rcc.c1105 uint32_t tmpreg = 0U, prediv = 0U, pllclk = 0U, pllmul = 0U; in HAL_RCC_GetSysClockFreq() local
1121prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV) >> RCC_CFGR2_PREDIV_BITNUMBE… in HAL_RCC_GetSysClockFreq()
1125 pllclk = (uint32_t)((uint64_t) HSE_VALUE / (uint64_t) (prediv)) * ((uint64_t) pllmul); in HAL_RCC_GetSysClockFreq()
1131 pllclk = (uint32_t)((uint64_t) HSI48_VALUE / (uint64_t) (prediv)) * ((uint64_t) pllmul); in HAL_RCC_GetSysClockFreq()
1138 pllclk = (uint32_t)((uint64_t) HSI_VALUE / (uint64_t) (prediv)) * ((uint64_t) pllmul); in HAL_RCC_GetSysClockFreq()