/hal_stm32-3.5.0/stm32cube/stm32f1xx/soc/ |
D | system_stm32f1xx.c | 142 uint32_t SystemCoreClock = 16000000; variable 243 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 246 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 260 SystemCoreClock = (HSI_VALUE >> 1U) * pllmull; in SystemCoreClockUpdate() 267 SystemCoreClock = (HSE_VALUE / prediv1factor) * pllmull; in SystemCoreClockUpdate() 272 SystemCoreClock = (HSE_VALUE >> 1U) * pllmull; in SystemCoreClockUpdate() 276 SystemCoreClock = HSE_VALUE * pllmull; in SystemCoreClockUpdate() 295 SystemCoreClock = (HSI_VALUE >> 1U) * pllmull; in SystemCoreClockUpdate() 307 SystemCoreClock = (HSE_VALUE / prediv1factor) * pllmull; in SystemCoreClockUpdate() 315 SystemCoreClock = (((HSE_VALUE / prediv2factor) * pll2mull) / prediv1factor) * pllmull; in SystemCoreClockUpdate() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h7xx/soc/ |
D | system_stm32h7xx_singlecore.c | 133 uint32_t SystemCoreClock = 64000000; variable 326 SystemCoreClock = (uint32_t) (HSI_VALUE >> ((RCC->CR & RCC_CR_HSIDIV)>> 3)); in SystemCoreClockUpdate() 331 SystemCoreClock = CSI_VALUE; in SystemCoreClockUpdate() 335 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 373 SystemCoreClock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate() 377 SystemCoreClock = 0U; in SystemCoreClockUpdate() 382 SystemCoreClock = (uint32_t) (HSI_VALUE >> ((RCC->CR & RCC_CR_HSIDIV)>> 3)); in SystemCoreClockUpdate() 391 SystemCoreClock >>= tmp; in SystemCoreClockUpdate() 394 …SystemD2Clock = (SystemCoreClock >> ((D1CorePrescTable[(RCC->D1CFGR & RCC_D1CFGR_HPRE)>> RCC_D1CFG… in SystemCoreClockUpdate() 398 SystemCoreClock >>= tmp; in SystemCoreClockUpdate() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f0xx/soc/ |
D | system_stm32f0xx.c | 100 uint32_t SystemCoreClock = 8000000; variable 188 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 191 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 203 SystemCoreClock = (HSE_VALUE/predivfactor) * pllmull; in SystemCoreClockUpdate() 209 SystemCoreClock = (HSI48_VALUE/predivfactor) * pllmull; in SystemCoreClockUpdate() 218 SystemCoreClock = (HSI_VALUE/predivfactor) * pllmull; in SystemCoreClockUpdate() 221 SystemCoreClock = (HSI_VALUE >> 1) * pllmull; in SystemCoreClockUpdate() 228 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 235 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32f3xx/soc/ |
D | system_stm32f3xx.c | 144 uint32_t SystemCoreClock = 8000000; variable 229 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 232 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 245 SystemCoreClock = (HSE_VALUE / predivfactor) * pllmull; in SystemCoreClockUpdate() 250 SystemCoreClock = (HSI_VALUE / predivfactor) * pllmull; in SystemCoreClockUpdate() 256 SystemCoreClock = (HSI_VALUE >> 1) * pllmull; in SystemCoreClockUpdate() 262 SystemCoreClock = (HSE_VALUE / predivfactor) * pllmull; in SystemCoreClockUpdate() 267 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 274 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32l0xx/soc/ |
D | system_stm32l0xx.c | 127 uint32_t SystemCoreClock = 2097152U; /* 32.768 kHz * 2^6 */ variable 210 SystemCoreClock = (32768U * (1U << (msirange + 1U))); in SystemCoreClockUpdate() 215 SystemCoreClock = HSI_VALUE / 4U; in SystemCoreClockUpdate() 219 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 223 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 239 SystemCoreClock = (((HSI_VALUE / 4U) * pllmul) / plldiv); in SystemCoreClockUpdate() 243 SystemCoreClock = (((HSI_VALUE) * pllmul) / plldiv); in SystemCoreClockUpdate() 249 SystemCoreClock = (((HSE_VALUE) * pllmul) / plldiv); in SystemCoreClockUpdate() 257 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/soc/ |
D | system_stm32mp1xx.c | 103 uint32_t SystemCoreClock = HSI_VALUE; variable 209 SystemCoreClock = (HSI_VALUE >> (RCC->HSICFGR & RCC_HSICFGR_HSIDIV)); in SystemCoreClockUpdate() 213 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 217 SystemCoreClock = CSI_VALUE; in SystemCoreClockUpdate() 247 SystemCoreClock = (uint32_t)(pll3vco/ ((float)((RCC->PLL3CFGR2 & RCC_PLL3CFGR2_DIVP) + 1U))); in SystemCoreClockUpdate() 251 SystemCoreClock = 0U; in SystemCoreClockUpdate() 257 SystemCoreClock = SystemCoreClock >> (RCC->MCUDIVR & RCC_MCUDIVR_MCUDIV); in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32l5xx/soc/ |
D | system_stm32l5xx_s.c | 196 uint32_t SystemCoreClock = 4000000U; variable 308 SystemCoreClock = msirange; in SystemCoreClockUpdate() 312 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 316 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 342 SystemCoreClock = pllvco/pllr; in SystemCoreClockUpdate() 346 SystemCoreClock = msirange; in SystemCoreClockUpdate() 353 SystemCoreClock >>= tmp; in SystemCoreClockUpdate() 369 return SystemCoreClock; in SECURE_SystemCoreClockUpdate()
|
D | system_stm32l5xx.c | 180 uint32_t SystemCoreClock = 4000000U; variable 282 SystemCoreClock = msirange; in SystemCoreClockUpdate() 286 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 290 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 316 SystemCoreClock = pllvco/pllr; in SystemCoreClockUpdate() 320 SystemCoreClock = msirange; in SystemCoreClockUpdate() 327 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32wlxx/soc/ |
D | system_stm32wlxx.c | 183 uint32_t SystemCoreClock = 4000000UL; /*CPU1: M4 on MSI clock after startup (4MHz)*/ variable 290 SystemCoreClock = msirange; in SystemCoreClockUpdate() 295 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 299 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 327 SystemCoreClock = pllvco/pllr; in SystemCoreClockUpdate() 331 SystemCoreClock = msirange; in SystemCoreClockUpdate() 345 SystemCoreClock = SystemCoreClock / tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32wbxx/soc/ |
D | system_stm32wbxx.c | 173 uint32_t SystemCoreClock = 4000000UL ; /*CPU1: M4 on MSI clock after startup (4MHz)*/ variable 310 SystemCoreClock = msirange; in SystemCoreClockUpdate() 315 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 319 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 345 SystemCoreClock = pllvco / pllr; in SystemCoreClockUpdate() 349 SystemCoreClock = msirange; in SystemCoreClockUpdate() 358 SystemCoreClock = SystemCoreClock / tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/soc/ |
D | system_stm32u5xx_s.c | 178 uint32_t SystemCoreClock = 4000000U; variable 318 SystemCoreClock = msirange; in SystemCoreClockUpdate() 322 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 326 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 359 SystemCoreClock = (uint32_t)((uint32_t)pllvco/pllr); in SystemCoreClockUpdate() 363 SystemCoreClock = msirange; in SystemCoreClockUpdate() 370 SystemCoreClock >>= tmp; in SystemCoreClockUpdate() 385 return SystemCoreClock; in SECURE_SystemCoreClockUpdate()
|
D | system_stm32u5xx.c | 165 uint32_t SystemCoreClock = 4000000U; variable 295 SystemCoreClock = msirange; in SystemCoreClockUpdate() 299 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 303 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 336 SystemCoreClock = (uint32_t)((uint32_t)pllvco/pllr); in SystemCoreClockUpdate() 340 SystemCoreClock = msirange; in SystemCoreClockUpdate() 347 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32l1xx/soc/ |
D | system_stm32l1xx.c | 125 uint32_t SystemCoreClock = 2097000U; variable 220 SystemCoreClock = (32768 * (1 << (msirange + 1))); in SystemCoreClockUpdate() 223 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 226 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 240 SystemCoreClock = (((HSI_VALUE) * pllmul) / plldiv); in SystemCoreClockUpdate() 245 SystemCoreClock = (((HSE_VALUE) * pllmul) / plldiv); in SystemCoreClockUpdate() 250 SystemCoreClock = (32768 * (1 << (msirange + 1))); in SystemCoreClockUpdate() 257 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32h5xx/soc/ |
D | system_stm32h5xx_s.c | 186 uint32_t SystemCoreClock = 64000000U; variable 344 SystemCoreClock = (uint32_t) (HSI_VALUE >> ((RCC->CR & RCC_CR_HSIDIV)>> 3)); in SystemCoreClockUpdate() 348 SystemCoreClock = CSI_VALUE; in SystemCoreClockUpdate() 352 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 388 SystemCoreClock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate() 393 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 400 SystemCoreClock >>= tmp; in SystemCoreClockUpdate() 416 return SystemCoreClock; in SECURE_SystemCoreClockUpdate()
|
D | system_stm32h5xx.c | 173 uint32_t SystemCoreClock = 64000000U; variable 330 SystemCoreClock = (uint32_t) (HSI_VALUE >> ((RCC->CR & RCC_CR_HSIDIV)>> 3)); in SystemCoreClockUpdate() 334 SystemCoreClock = CSI_VALUE; in SystemCoreClockUpdate() 338 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 374 SystemCoreClock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate() 379 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 386 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32g0xx/soc/ |
D | system_stm32g0xx.c | 159 uint32_t SystemCoreClock = 16000000UL; variable 246 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 250 SystemCoreClock = LSI_VALUE; in SystemCoreClockUpdate() 254 SystemCoreClock = LSE_VALUE; in SystemCoreClockUpdate() 275 SystemCoreClock = pllvco/pllr; in SystemCoreClockUpdate() 281 SystemCoreClock = (HSI_VALUE/hsidiv); in SystemCoreClockUpdate() 288 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32l4xx/soc/ |
D | system_stm32l4xx.c | 170 uint32_t SystemCoreClock = 4000000U; variable 271 SystemCoreClock = msirange; in SystemCoreClockUpdate() 275 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 279 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 305 SystemCoreClock = pllvco/pllr; in SystemCoreClockUpdate() 309 SystemCoreClock = msirange; in SystemCoreClockUpdate() 316 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_hal_rcc_ex.c | 1241 frequency = SystemCoreClock; in HAL_RCCEx_GetPeriphCLKFreq() 1268 frequency = SystemCoreClock; in HAL_RCCEx_GetPeriphCLKFreq() 1291 frequency = SystemCoreClock; in HAL_RCCEx_GetPeriphCLKFreq() 1320 frequency = SystemCoreClock; in HAL_RCCEx_GetPeriphCLKFreq() 1339 frequency = SystemCoreClock; in HAL_RCCEx_GetPeriphCLKFreq() 1358 frequency = SystemCoreClock; in HAL_RCCEx_GetPeriphCLKFreq() 1377 frequency = SystemCoreClock; in HAL_RCCEx_GetPeriphCLKFreq() 1396 frequency = SystemCoreClock; in HAL_RCCEx_GetPeriphCLKFreq() 1415 frequency = SystemCoreClock; in HAL_RCCEx_GetPeriphCLKFreq() 1434 frequency = SystemCoreClock; in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32c0xx/soc/ |
D | system_stm32c0xx.c | 110 uint32_t SystemCoreClock = 48000000UL; variable 193 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 197 SystemCoreClock = LSI_VALUE; in SystemCoreClockUpdate() 201 SystemCoreClock = LSE_VALUE; in SystemCoreClockUpdate() 207 SystemCoreClock = (HSI_VALUE/hsidiv); in SystemCoreClockUpdate() 214 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32f7xx/soc/ |
D | system_stm32f7xx.c | 124 uint32_t SystemCoreClock = 16000000; variable 210 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 213 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 235 SystemCoreClock = pllvco/pllp; in SystemCoreClockUpdate() 238 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 245 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32f2xx/soc/ |
D | system_stm32f2xx.c | 126 uint32_t SystemCoreClock = 16000000; variable 214 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 217 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 239 SystemCoreClock = pllvco/pllp; in SystemCoreClockUpdate() 242 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 249 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/soc/ |
D | system_stm32wbaxx_s.c | 170 …uint32_t SystemCoreClock = 16000000U; /* The HSI16 is used as system clock source after startup fr… variable 327 SystemCoreClock = (HSE_VALUE >> ((RCC->CR & RCC_CR_HSEPRE) >> RCC_CR_HSEPRE_Pos)); in SystemCoreClockUpdate() 373 SystemCoreClock = (uint32_t)((float_t)(pllvco / (float_t)pllr)); in SystemCoreClockUpdate() 378 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 387 SystemCoreClock >>= tmp1; in SystemCoreClockUpdate() 402 return SystemCoreClock; in SECURE_SystemCoreClockUpdate()
|
D | system_stm32wbaxx.c | 156 …uint32_t SystemCoreClock = 16000000U; /* The HSI16 is used as system clock source after startup fr… variable 305 SystemCoreClock = (HSE_VALUE >> ((RCC->CR & RCC_CR_HSEPRE) >> RCC_CR_HSEPRE_Pos)); in SystemCoreClockUpdate() 351 SystemCoreClock = (uint32_t)((float_t)(pllvco / (float_t)pllr)); in SystemCoreClockUpdate() 356 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 365 SystemCoreClock >>= tmp1; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32g4xx/soc/ |
D | system_stm32g4xx.c | 152 uint32_t SystemCoreClock = HSI_VALUE; variable 236 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 240 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 259 SystemCoreClock = pllvco/pllr; in SystemCoreClockUpdate() 269 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
|
/hal_stm32-3.5.0/stm32cube/stm32f4xx/soc/ |
D | system_stm32f4xx.c | 137 uint32_t SystemCoreClock = 16000000; variable 230 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 233 SystemCoreClock = HSE_VALUE; in SystemCoreClockUpdate() 255 SystemCoreClock = pllvco/pllp; in SystemCoreClockUpdate() 258 SystemCoreClock = HSI_VALUE; in SystemCoreClockUpdate() 265 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
|