/hal_stm32-3.4.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_ll_rcc.c | 683 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 694 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 700 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 705 i2c_frequency = __LL_RCC_CALC_MSIK_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in LL_RCC_GetI2CClockFreq() 712 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 726 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 732 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 737 i2c_frequency = __LL_RCC_CALC_MSIK_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in LL_RCC_GetI2CClockFreq() 743 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 757 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_ll_rcc.c | 431 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 442 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 448 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 454 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 464 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 470 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 476 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 488 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 494 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 500 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_ll_rcc.c | 475 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 486 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 492 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 497 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 511 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 517 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 522 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 536 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 542 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 547 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_ll_rcc.c | 564 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 575 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 581 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 587 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 597 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 603 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 609 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 619 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 625 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 631 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_ll_rcc.c | 344 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 355 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 363 i2c_frequency = (HSI_VALUE >> 2U); in LL_RCC_GetI2CClockFreq() 367 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 374 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 386 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 394 i2c_frequency = (HSI_VALUE >> 2U); in LL_RCC_GetI2CClockFreq() 398 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 405 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 411 return i2c_frequency; in LL_RCC_GetI2CClockFreq()
|
/hal_stm32-3.4.0/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_ll_rcc.c | 319 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 330 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 336 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 342 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLK1ClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 352 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 358 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 364 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLK1ClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 374 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 380 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 386 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLK1ClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_ll_rcc.c | 1747 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 1759 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 1769 i2c_frequency = PLL_Clocks.PLL_R_Frequency; in LL_RCC_GetI2CClockFreq() 1780 i2c_frequency = PLL_Clocks.PLL_R_Frequency; in LL_RCC_GetI2CClockFreq() 1789 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 1796 i2c_frequency = CSI_VALUE; in LL_RCC_GetI2CClockFreq() 1811 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 1821 i2c_frequency = PLL_Clocks.PLL_R_Frequency; in LL_RCC_GetI2CClockFreq() 1832 i2c_frequency = PLL_Clocks.PLL_R_Frequency; in LL_RCC_GetI2CClockFreq() 1841 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_ll_rcc.c | 569 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 580 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 586 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 591 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 605 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 611 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 616 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 632 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 638 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 643 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_ll_rcc.c | 554 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 565 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 572 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 585 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 592 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 606 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 613 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 620 return i2c_frequency; in LL_RCC_GetI2CClockFreq()
|
/hal_stm32-3.4.0/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_ll_rcc.c | 417 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 428 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 434 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 440 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLK1ClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 451 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 457 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 463 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLK1ClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 469 return i2c_frequency; in LL_RCC_GetI2CClockFreq()
|
/hal_stm32-3.4.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_ll_rcc.c | 369 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 380 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 386 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 392 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 403 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 409 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 415 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 425 return i2c_frequency; in LL_RCC_GetI2CClockFreq()
|
/hal_stm32-3.4.0/stm32cube/stm32c0xx/drivers/src/ |
D | stm32c0xx_ll_rcc.c | 222 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 233 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 239 i2c_frequency = (HSI_VALUE / ((LL_RCC_HSIKER_GetDivider() >> RCC_CR_HSIKERDIV_Pos) + 1U)); in LL_RCC_GetI2CClockFreq() 245 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq() 253 return i2c_frequency; in LL_RCC_GetI2CClockFreq()
|
/hal_stm32-3.4.0/stm32cube/stm32f0xx/drivers/src/ |
D | stm32f0xx_ll_rcc.c | 362 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 373 i2c_frequency = RCC_GetSystemClockFreq(); in LL_RCC_GetI2CClockFreq() 380 i2c_frequency = HSI_VALUE; in LL_RCC_GetI2CClockFreq() 386 return i2c_frequency; in LL_RCC_GetI2CClockFreq()
|
/hal_stm32-3.4.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_ll_rcc.c | 680 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 689 …i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_CALC_SYSCLK_FREQ(RCC_GetSystemCl… in LL_RCC_GetI2CClockFreq() 693 …i2c_frequency = RCC_GetPCLK4ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_CALC_SYSCLK_FREQ(RCC_GetSystemCl… in LL_RCC_GetI2CClockFreq() 701 i2c_frequency = PLL_Clocks.PLL_R_Frequency; in LL_RCC_GetI2CClockFreq() 709 i2c_frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_CR_HSIDIV_Pos); in LL_RCC_GetI2CClockFreq() 717 i2c_frequency = CSI_VALUE; in LL_RCC_GetI2CClockFreq() 726 return i2c_frequency; in LL_RCC_GetI2CClockFreq()
|
/hal_stm32-3.4.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_ll_rcc.c | 798 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local 808 i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetMLHCLKClockFreq(RCC_GetMCUSSClockFreq())); in LL_RCC_GetI2CClockFreq() 816 i2c_frequency = PLL_Clocks.PLL_R_Frequency; in LL_RCC_GetI2CClockFreq() 825 i2c_frequency = HSI_VALUE >> LL_RCC_HSI_GetDivider(); in LL_RCC_GetI2CClockFreq() 834 i2c_frequency = CSI_VALUE; in LL_RCC_GetI2CClockFreq() 839 i2c_frequency = RCC_GetPCLK5ClockFreq(RCC_GetACLKClockFreq(RCC_GetAXISSClockFreq())); in LL_RCC_GetI2CClockFreq() 846 i2c_frequency = PLL_Clocks.PLL_Q_Frequency; in LL_RCC_GetI2CClockFreq() 855 return i2c_frequency; in LL_RCC_GetI2CClockFreq()
|