/hal_stm32-3.6.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_hal_rcc_ex.c | 2042 uint32_t frequency = 0, clksource = 0; in HAL_RCCEx_GetPeriphCLKFreq() local 2056 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 2063 frequency = HAL_RCC_GetPCLK1Freq(); in HAL_RCCEx_GetPeriphCLKFreq() 2075 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 2079 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 2083 frequency = (CSI_VALUE / 122); in HAL_RCCEx_GetPeriphCLKFreq() 2087 frequency = 0; in HAL_RCCEx_GetPeriphCLKFreq() 2101 frequency = HAL_RCC_GetPCLK1Freq(); in HAL_RCCEx_GetPeriphCLKFreq() 2106 frequency = pll4_clocks.PLL4_R_Frequency; in HAL_RCCEx_GetPeriphCLKFreq() 2110 frequency = (HSI_VALUE >> __HAL_RCC_GET_HSI_DIV()); in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
D | stm32mp1xx_ll_rcc.c | 2096 uint32_t frequency = 0U, mpudiv; in RCC_GetMPUSSClockFreq() local 2103 frequency = (HSI_VALUE >> LL_RCC_HSI_GetDivider()); in RCC_GetMPUSSClockFreq() 2107 frequency = HSE_VALUE; in RCC_GetMPUSSClockFreq() 2112 frequency = PLL_Clocks.PLL_P_Frequency; in RCC_GetMPUSSClockFreq() 2120 frequency = (PLL_Clocks.PLL_P_Frequency >> mpudiv); in RCC_GetMPUSSClockFreq() 2129 return frequency; in RCC_GetMPUSSClockFreq() 2138 uint32_t frequency = 0U; in RCC_GetAXISSClockFreq() local 2145 frequency = (HSI_VALUE >> LL_RCC_HSI_GetDivider()); in RCC_GetAXISSClockFreq() 2149 frequency = HSE_VALUE; in RCC_GetAXISSClockFreq() 2154 frequency = PLL_Clocks.PLL_P_Frequency; in RCC_GetAXISSClockFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_rcc_ex.c | 3225 uint32_t frequency; in HAL_RCCEx_GetPeriphCLKFreq() local 3240 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 3245 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 3252 … frequency = (HSE_VALUE / ((uint32_t)(__HAL_RCC_GET_RTC_HSE_PRESCALER() >> RCC_CFGR1_RTCPRE_Pos))); in HAL_RCCEx_GetPeriphCLKFreq() 3256 frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() 3263 frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() 3281 frequency = pll1_clocks.PLL1_Q_Frequency; in HAL_RCCEx_GetPeriphCLKFreq() 3287 frequency = pll2_clocks.PLL2_P_Frequency; in HAL_RCCEx_GetPeriphCLKFreq() 3293 frequency = pll3_clocks.PLL3_P_Frequency; in HAL_RCCEx_GetPeriphCLKFreq() 3298 frequency = EXTERNAL_CLOCK_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_rcc_ex.c | 1801 uint32_t frequency; in HAL_RCCEx_GetPeriphCLKFreq() local 1815 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 1822 frequency = LSI_VALUE / 128U; in HAL_RCCEx_GetPeriphCLKFreq() 1826 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 1832 frequency = HSE_VALUE / 32U; in HAL_RCCEx_GetPeriphCLKFreq() 1837 frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() 1849 frequency = pll1_clocks.PLL1_P_Frequency; in HAL_RCCEx_GetPeriphCLKFreq() 1855 frequency = pll2_clocks.PLL2_P_Frequency; in HAL_RCCEx_GetPeriphCLKFreq() 1861 frequency = pll3_clocks.PLL3_P_Frequency; in HAL_RCCEx_GetPeriphCLKFreq() 1866 frequency = EXTERNAL_SAI1_CLOCK_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_rcc_ex.c | 525 uint32_t frequency = 0; in HAL_RCCEx_GetPeriphCLKFreq() local 539 frequency = HAL_RCC_GetPCLK2Freq(); in HAL_RCCEx_GetPeriphCLKFreq() 543 frequency = HAL_RCC_GetSysClockFreq(); in HAL_RCCEx_GetPeriphCLKFreq() 549 frequency = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 556 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 568 frequency = HAL_RCC_GetPCLK1Freq(); in HAL_RCCEx_GetPeriphCLKFreq() 572 frequency = HAL_RCC_GetSysClockFreq(); in HAL_RCCEx_GetPeriphCLKFreq() 578 frequency = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 585 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 599 frequency = HAL_RCC_GetPCLK1Freq(); in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_rcc_ex.c | 1888 uint32_t frequency; in HAL_RCCEx_GetPeriphCLKFreq() local 1906 frequency = pll1_clocks.PLL1_Q_Frequency; in HAL_RCCEx_GetPeriphCLKFreq() 1910 frequency = 0; in HAL_RCCEx_GetPeriphCLKFreq() 1919 frequency = pll2_clocks.PLL2_P_Frequency; in HAL_RCCEx_GetPeriphCLKFreq() 1923 frequency = 0; in HAL_RCCEx_GetPeriphCLKFreq() 1933 frequency = pll3_clocks.PLL3_P_Frequency; in HAL_RCCEx_GetPeriphCLKFreq() 1937 frequency = 0; in HAL_RCCEx_GetPeriphCLKFreq() 1950 frequency = (HSI_VALUE >> (__HAL_RCC_GET_HSI_DIVIDER() >> 3)); in HAL_RCCEx_GetPeriphCLKFreq() 1956 frequency = CSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 1962 frequency = HSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal_rcc_ex.c | 418 uint32_t frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local 436 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 445 frequency = LSI_VALUE / 128U; in HAL_RCCEx_GetPeriphCLKFreq() 449 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 455 frequency = HSE_VALUE / 32U; in HAL_RCCEx_GetPeriphCLKFreq() 475 frequency = RCC_PLL_GetFreqDomain_Q(); in HAL_RCCEx_GetPeriphCLKFreq() 484 frequency = LSI_VALUE / 128U; in HAL_RCCEx_GetPeriphCLKFreq() 488 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 496 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 504 frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_hal_rcc_ex.c | 947 uint32_t frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local 970 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 975 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 980 frequency = HSE_VALUE / 32U; in HAL_RCCEx_GetPeriphCLKFreq() 993 frequency = HAL_RCC_GetPCLK2Freq(); in HAL_RCCEx_GetPeriphCLKFreq() 998 frequency = HAL_RCC_GetPCLK1Freq(); in HAL_RCCEx_GetPeriphCLKFreq() 1004 frequency = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 1009 frequency = HAL_RCC_GetSysClockFreq(); in HAL_RCCEx_GetPeriphCLKFreq() 1014 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 1027 frequency = HAL_RCC_GetPCLK1Freq(); in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_rcc_ex.c | 650 uint32_t frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local 665 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 670 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 675 frequency = HSE_VALUE / 32U; in HAL_RCCEx_GetPeriphCLKFreq() 727 frequency = HAL_RCC_GetPCLK2Freq(); in HAL_RCCEx_GetPeriphCLKFreq() 731 frequency = HAL_RCC_GetSysClockFreq(); in HAL_RCCEx_GetPeriphCLKFreq() 735 frequency = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 739 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 754 frequency = HAL_RCC_GetPCLK1Freq(); in HAL_RCCEx_GetPeriphCLKFreq() 758 frequency = HAL_RCC_GetSysClockFreq(); in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_rcc_ex.c | 612 uint32_t frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local 631 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 636 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 641 frequency = HSE_VALUE / 32U; in HAL_RCCEx_GetPeriphCLKFreq() 696 frequency = (rngclk / rngdiv); in HAL_RCCEx_GetPeriphCLKFreq() 706 frequency = HAL_RCC_GetPCLK1Freq(); in HAL_RCCEx_GetPeriphCLKFreq() 710 frequency = HAL_RCC_GetSysClockFreq(); in HAL_RCCEx_GetPeriphCLKFreq() 714 frequency = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 718 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 733 frequency = HAL_RCC_GetPCLK1Freq(); in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal_rcc_ex.c | 552 uint32_t frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local 569 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 582 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 591 frequency = HSE_VALUE / 32U; in HAL_RCCEx_GetPeriphCLKFreq() 606 frequency = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 617 frequency = RCC_PLLSAI1_GetFreqDomain_P(); in HAL_RCCEx_GetPeriphCLKFreq() 628 frequency = RCC_PLL_GetFreqDomain_P(); in HAL_RCCEx_GetPeriphCLKFreq() 637 frequency = EXTERNAL_SAI1_CLOCK_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 652 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 663 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
D | stm32wbxx_ll_rcc.c | 924 uint32_t frequency; in RCC_GetSystemClockFreq() local 930 frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_GetSystemClockFreq() 934 frequency = HSI_VALUE; in RCC_GetSystemClockFreq() 940 frequency = HSE_VALUE / 2U; in RCC_GetSystemClockFreq() 944 frequency = HSE_VALUE; in RCC_GetSystemClockFreq() 949 frequency = RCC_PLL_GetFreqDomain_SYS(); in RCC_GetSystemClockFreq() 953 frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_GetSystemClockFreq() 957 return frequency; in RCC_GetSystemClockFreq() 999 uint32_t frequency; in RCC_GetHCLK5ClockFreq() local 1005 frequency = HSI_VALUE; in RCC_GetHCLK5ClockFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_rcc_ex.c | 818 uint32_t frequency = 0U; /* Default is 0 */ in HAL_RCCEx_GetPeriphCLKFreq() local 837 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 844 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 851 frequency = HSE_VALUE / 32U; in HAL_RCCEx_GetPeriphCLKFreq() 907 frequency = RCCEx_GetSAIxPeriphCLKFreq(RCC_PERIPHCLK_SAI1, pllvco); in HAL_RCCEx_GetPeriphCLKFreq() 911 frequency = RCCEx_GetSAIxPeriphCLKFreq(RCC_PERIPHCLK_SAI2, pllvco); in HAL_RCCEx_GetPeriphCLKFreq() 930 frequency = MSIRangeTable[(__HAL_RCC_GET_MSI_RANGE() >> 4U)]; in HAL_RCCEx_GetPeriphCLKFreq() 942 …frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos)… in HAL_RCCEx_GetPeriphCLKFreq() 957 …frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1Q) >> RCC_PLLSA… in HAL_RCCEx_GetPeriphCLKFreq() 964 frequency = HSI48_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_rcc_ex.c | 1152 uint32_t frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local 1172 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 1182 frequency = LSI_VALUE/128U; in HAL_RCCEx_GetPeriphCLKFreq() 1187 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 1195 frequency = HSE_VALUE / 32U; in HAL_RCCEx_GetPeriphCLKFreq() 1253 frequency = RCCEx_GetSAIxPeriphCLKFreq(RCC_PERIPHCLK_SAI1, pllvco); in HAL_RCCEx_GetPeriphCLKFreq() 1261 frequency = RCCEx_GetSAIxPeriphCLKFreq(RCC_PERIPHCLK_SAI2, pllvco); in HAL_RCCEx_GetPeriphCLKFreq() 1288 frequency = MSIRangeTable[(__HAL_RCC_GET_MSI_RANGE() >> 4U)]; in HAL_RCCEx_GetPeriphCLKFreq() 1300 …frequency = (pllvco / (((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos) + 1U) <… in HAL_RCCEx_GetPeriphCLKFreq() 1320 …frequency = (pllvco / (((READ_BIT(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1Q) >> RCC_PLLSAI1CFGR_P… in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_hal_rcc_ex.c | 384 uint32_t frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local 409 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 416 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 431 frequency = HSE_VALUE / 16U; in HAL_RCCEx_GetPeriphCLKFreq() 436 frequency = HSE_VALUE / 8U; in HAL_RCCEx_GetPeriphCLKFreq() 441 frequency = HSE_VALUE / 4U; in HAL_RCCEx_GetPeriphCLKFreq() 446 frequency = HSE_VALUE / 2U; in HAL_RCCEx_GetPeriphCLKFreq() 493 frequency = (pllvco/ plldiv); in HAL_RCCEx_GetPeriphCLKFreq() 500 frequency = HSI48_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 519 frequency = HAL_RCC_GetPCLK2Freq(); in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
D | stm32l0xx_ll_rcc.c | 579 uint32_t frequency; in RCC_GetSystemClockFreq() local 585 frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_GetSystemClockFreq() 591 frequency = (HSI_VALUE >> 2U); in RCC_GetSystemClockFreq() 595 frequency = HSI_VALUE; in RCC_GetSystemClockFreq() 600 frequency = HSE_VALUE; in RCC_GetSystemClockFreq() 604 frequency = RCC_PLL_GetFreqDomain_SYS(); in RCC_GetSystemClockFreq() 608 frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_GetSystemClockFreq() 612 return frequency; in RCC_GetSystemClockFreq()
|
/hal_stm32-3.6.0/stm32cube/stm32f0xx/drivers/src/ |
D | stm32f0xx_hal_rcc_ex.c | 371 uint32_t frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local 391 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 396 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 401 frequency = HSE_VALUE / 32U; in HAL_RCCEx_GetPeriphCLKFreq() 413 frequency = HAL_RCC_GetPCLK1Freq(); in HAL_RCCEx_GetPeriphCLKFreq() 418 frequency = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 423 frequency = HAL_RCC_GetSysClockFreq(); in HAL_RCCEx_GetPeriphCLKFreq() 428 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 441 frequency = HAL_RCC_GetPCLK1Freq(); in HAL_RCCEx_GetPeriphCLKFreq() 446 frequency = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
D | stm32f0xx_ll_rcc.c | 491 uint32_t frequency = 0U; in RCC_GetSystemClockFreq() local 497 frequency = HSI_VALUE; in RCC_GetSystemClockFreq() 501 frequency = HSE_VALUE; in RCC_GetSystemClockFreq() 505 frequency = RCC_PLL_GetFreqDomain_SYS(); in RCC_GetSystemClockFreq() 510 frequency = HSI48_VALUE; in RCC_GetSystemClockFreq() 515 frequency = HSI_VALUE; in RCC_GetSystemClockFreq() 519 return frequency; in RCC_GetSystemClockFreq()
|
/hal_stm32-3.6.0/stm32cube/stm32c0xx/drivers/src/ |
D | stm32c0xx_hal_rcc_ex.c | 267 uint32_t frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local 281 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 286 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 291 frequency = HSE_VALUE / 32U; in HAL_RCCEx_GetPeriphCLKFreq() 312 frequency = HAL_RCC_GetPCLK1Freq(); in HAL_RCCEx_GetPeriphCLKFreq() 316 frequency = HAL_RCC_GetSysClockFreq(); in HAL_RCCEx_GetPeriphCLKFreq() 320 frequency = (HSI_VALUE / ((__HAL_RCC_GET_HSIKER_DIVIDER() >> RCC_CR_HSIKERDIV_Pos) + 1U)); in HAL_RCCEx_GetPeriphCLKFreq() 324 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 339 frequency = HAL_RCC_GetSysClockFreq(); in HAL_RCCEx_GetPeriphCLKFreq() 343 frequency = (HSI_VALUE / ((__HAL_RCC_GET_HSIKER_DIVIDER() >> RCC_CR_HSIKERDIV_Pos) + 1U)); in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_rcc_ex.c | 573 uint32_t frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local 607 frequency = (vcoinput * ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIN) >> 6U))/(tmpreg1); in HAL_RCCEx_GetPeriphCLKFreq() 611 frequency = frequency/(tmpreg1); in HAL_RCCEx_GetPeriphCLKFreq() 633 frequency = (vcoinput * ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SN) >> 6U))/(tmpreg1); in HAL_RCCEx_GetPeriphCLKFreq() 637 frequency = frequency/(tmpreg1); in HAL_RCCEx_GetPeriphCLKFreq() 659 frequency = (vcoinput * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 6U))/(tmpreg1); in HAL_RCCEx_GetPeriphCLKFreq() 664 frequency = EXTERNAL_CLOCK_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 672 frequency = (uint32_t)(HSI_VALUE); in HAL_RCCEx_GetPeriphCLKFreq() 677 frequency = (uint32_t)(HSE_VALUE); in HAL_RCCEx_GetPeriphCLKFreq() 698 frequency = EXTERNAL_CLOCK_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32f1xx/drivers/src/ |
D | stm32f1xx_hal_rcc_ex.c | 401 uint32_t temp_reg = 0U, frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local 470 frequency = pllclk; in HAL_RCCEx_GetPeriphCLKFreq() 475 frequency = (2 * pllclk) / 3; in HAL_RCCEx_GetPeriphCLKFreq() 482 frequency = pllclk; in HAL_RCCEx_GetPeriphCLKFreq() 487 frequency = (pllclk * 2) / 3; in HAL_RCCEx_GetPeriphCLKFreq() 499 frequency = HAL_RCC_GetSysClockFreq(); in HAL_RCCEx_GetPeriphCLKFreq() 504 frequency = HAL_RCC_GetSysClockFreq(); in HAL_RCCEx_GetPeriphCLKFreq() 514 frequency = (uint32_t)(2 * ((HSE_VALUE / prediv2) * pll3mul)); in HAL_RCCEx_GetPeriphCLKFreq() 524 frequency = HAL_RCC_GetSysClockFreq(); in HAL_RCCEx_GetPeriphCLKFreq() 529 frequency = HAL_RCC_GetSysClockFreq(); in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_rcc_ex.c | 1387 uint32_t frequency = 0; in HAL_RCCEx_GetPeriphCLKFreq() local 1416 frequency = (vcoinput * ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIN) >> 6))/(tmpreg); in HAL_RCCEx_GetPeriphCLKFreq() 1420 frequency = frequency/(tmpreg); in HAL_RCCEx_GetPeriphCLKFreq() 1441 frequency = (vcoinput * ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SN) >> 6))/(tmpreg); in HAL_RCCEx_GetPeriphCLKFreq() 1445 frequency = frequency/(tmpreg); in HAL_RCCEx_GetPeriphCLKFreq() 1450 frequency = EXTERNAL_CLOCK_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 1459 frequency = HSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 1464 frequency = HSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 1499 frequency = (vcoinput * ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIN) >> 6))/(tmpreg); in HAL_RCCEx_GetPeriphCLKFreq() 1503 frequency = frequency/(tmpreg); in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32l1xx/drivers/src/ |
D | stm32l1xx_hal_rcc_ex.c | 268 uint32_t frequency = 0; in HAL_RCCEx_GetPeriphCLKFreq() local 289 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 297 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() 310 frequency = HSE_VALUE / 16U; in HAL_RCCEx_GetPeriphCLKFreq() 315 frequency = HSE_VALUE / 8U; in HAL_RCCEx_GetPeriphCLKFreq() 320 frequency = HSE_VALUE / 4U; in HAL_RCCEx_GetPeriphCLKFreq() 325 frequency = HSE_VALUE / 2U; in HAL_RCCEx_GetPeriphCLKFreq() 342 return(frequency); in HAL_RCCEx_GetPeriphCLKFreq()
|
D | stm32l1xx_ll_rcc.c | 202 uint32_t frequency; in RCC_GetSystemClockFreq() local 208 frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_GetSystemClockFreq() 212 frequency = HSI_VALUE; in RCC_GetSystemClockFreq() 216 frequency = HSE_VALUE; in RCC_GetSystemClockFreq() 220 frequency = RCC_PLL_GetFreqDomain_SYS(); in RCC_GetSystemClockFreq() 224 frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_GetSystemClockFreq() 228 return frequency; in RCC_GetSystemClockFreq()
|
/hal_stm32-3.6.0/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_ll_rcc.c | 241 uint32_t frequency = 0U; in RCC_GetSystemClockFreq() local 247 frequency = HSI_VALUE; in RCC_GetSystemClockFreq() 251 frequency = HSE_VALUE; in RCC_GetSystemClockFreq() 255 frequency = RCC_PLL_GetFreqDomain_SYS(); in RCC_GetSystemClockFreq() 259 frequency = HSI_VALUE; in RCC_GetSystemClockFreq() 263 return frequency; in RCC_GetSystemClockFreq()
|