Home
last modified time | relevance | path

Searched refs:i2c_frequency (Results 1 – 15 of 15) sorted by relevance

/hal_stm32-3.4.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_ll_rcc.c683 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/
Dstm32g4xx_ll_rcc.c431 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/
Dstm32l5xx_ll_rcc.c475 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/
Dstm32f7xx_ll_rcc.c564 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/
Dstm32l0xx_ll_rcc.c344 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/
Dstm32wlxx_ll_rcc.c319 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/
Dstm32h5xx_ll_rcc.c1747 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/
Dstm32l4xx_ll_rcc.c569 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/
Dstm32f3xx_ll_rcc.c554 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/
Dstm32wbxx_ll_rcc.c417 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/
Dstm32g0xx_ll_rcc.c369 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/
Dstm32c0xx_ll_rcc.c222 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/
Dstm32f0xx_ll_rcc.c362 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/
Dstm32h7xx_ll_rcc.c680 uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local
689i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_CALC_SYSCLK_FREQ(RCC_GetSystemCl… in LL_RCC_GetI2CClockFreq()
693i2c_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/
Dstm32mp1xx_ll_rcc.c798 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()