| /trusted-firmware-m-latest/platform/ext/target/stm/common/stm32l5xx/secure/ |
| D | system_stm32l5xx.c | 246 uint32_t tmp, msirange, pllvco, pllsource, pllm, pllr; in SystemCoreClockUpdate() local 280 pllm = ((RCC->PLLCFGR & RCC_PLLCFGR_PLLM) >> 4U) + 1U ; in SystemCoreClockUpdate() 285 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate() 289 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate() 293 pllvco = (msirange / pllm); in SystemCoreClockUpdate()
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/stm32l5xx/Device/Source/Templates/ |
| D | system_stm32l5xx.c | 260 uint32_t tmp, msirange, pllvco, pllsource, pllm, pllr; in SystemCoreClockUpdate() local 294 pllm = ((RCC->PLLCFGR & RCC_PLLCFGR_PLLM) >> 4U) + 1U ; in SystemCoreClockUpdate() 299 pllvco = (HSI_VALUE / pllm); in SystemCoreClockUpdate() 303 pllvco = (HSE_VALUE / pllm); in SystemCoreClockUpdate() 307 pllvco = (msirange / pllm); in SystemCoreClockUpdate()
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/stm32u5xx/secure/ |
| D | system_stm32u5xx.c | 246 uint32_t pllr, pllsource, pllm , tmp, pllfracen, msirange; in SystemCoreClockUpdate() local 284 pllm = ((RCC->PLL1CFGR & RCC_PLL1CFGR_PLL1M)>> RCC_PLL1CFGR_PLL1M_Pos) + 1U; in SystemCoreClockUpdate() 295 pllvco = ((float_t)HSI_VALUE / (float_t)pllm); in SystemCoreClockUpdate() 299 pllvco = ((float_t)HSE_VALUE / (float_t)pllm); in SystemCoreClockUpdate() 303 pllvco = ((float_t)msirange / (float_t)pllm); in SystemCoreClockUpdate()
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/stm32h5xx/secure/ |
| D | system_stm32h5xx.c | 202 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local 226 pllm = ((RCC->PLL1CFGR & RCC_PLL1CFGR_PLL1M)>> RCC_PLL1CFGR_PLL1M_Pos); in SystemCoreClockUpdate() 238 …pllvco = ( (float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 242 …pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 246 …pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/stm32u5xx/Device/Source/Templates/ |
| D | system_stm32u5xx.c | 252 uint32_t pllr, pllsource, pllm , tmp, pllfracen, msirange; in SystemCoreClockUpdate() local 290 pllm = ((RCC->PLL1CFGR & RCC_PLL1CFGR_PLL1M)>> RCC_PLL1CFGR_PLL1M_Pos) + 1U; in SystemCoreClockUpdate() 301 pllvco = ((float_t)HSI_VALUE / (float_t)pllm); in SystemCoreClockUpdate() 305 pllvco = ((float_t)HSE_VALUE / (float_t)pllm); in SystemCoreClockUpdate() 309 pllvco = ((float_t)msirange / (float_t)pllm); in SystemCoreClockUpdate()
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/stm32h5xx/Device/Source/Templates/ |
| D | system_stm32h5xx.c | 195 uint32_t pllp, pllsource, pllm, pllfracen, hsivalue, tmp; in SystemCoreClockUpdate() local 218 pllm = ((RCC->PLL1CFGR & RCC_PLL1CFGR_PLL1M)>> RCC_PLL1CFGR_PLL1M_Pos); in SystemCoreClockUpdate() 230 …pllvco = ( (float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 234 …pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate() 238 …pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/stm32l5xx/hal/Src/ |
| D | stm32l5xx_hal_rcc.c | 1433 uint32_t pllvco, pllsource, pllr, pllm; /* no init needed */ in HAL_RCC_GetSysClockFreq() local 1487 pllm = ((RCC->PLLCFGR & RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + 1U ; in HAL_RCC_GetSysClockFreq() 1492 pllvco = (HSI_VALUE / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in HAL_RCC_GetSysClockFreq() 1496 pllvco = (HSE_VALUE / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in HAL_RCC_GetSysClockFreq() 1501 pllvco = (msirange / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in HAL_RCC_GetSysClockFreq() 1971 uint32_t pllvco, pllsource, pllr, pllm, sysclockfreq; /* no init needed */ in RCC_GetSysClockFreqFromPLLSource() local 1994 pllm = (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + 1U ; in RCC_GetSysClockFreqFromPLLSource() 1999 … pllvco = (HSI_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in RCC_GetSysClockFreqFromPLLSource() 2003 … pllvco = (HSE_VALUE / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in RCC_GetSysClockFreqFromPLLSource() 2008 … pllvco = (msirange / pllm) * (READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos); in RCC_GetSysClockFreqFromPLLSource()
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/stm32h5xx/hal/Src/ |
| 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()
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/stm32u5xx/hal/Src/ |
| D | stm32u5xx_hal_rcc.c | 1601 uint32_t pllm; in HAL_RCC_GetSysClockFreq() local 1659 pllm = ((RCC->PLL1CFGR & RCC_PLL1CFGR_PLL1M) >> RCC_PLL1CFGR_PLL1M_Pos) + 1U; in HAL_RCC_GetSysClockFreq() 1664 if (pllm != 0U) in HAL_RCC_GetSysClockFreq() 1669 …pllvco = ((float_t)HSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in HAL_RCC_GetSysClockFreq() 1674 …pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in HAL_RCC_GetSysClockFreq() 1680 …pllvco = ((float_t) msirange / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in HAL_RCC_GetSysClockFreq()
|