zephyr/drivers/i2c
Piotr Zięcik aa363178d3 drivers: i2c_bitbang: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
On some SoCs the frequency of the system clock is obtained at run time
as the exact configuration of the hardware is not known at compile time.
On such platforms using CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC define
directly introduces timing errors.

This commit replaces CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC by the call to
inline function sys_clock_hw_cycles_per_sec() which always returns
correct frequency of the system clock.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
2019-07-24 15:10:02 +02:00
..
slave cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
CMakeLists.txt
i2c_bitbang.c drivers: i2c_bitbang: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
i2c_bitbang.h drivers: i2c_bitbang: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
i2c_cc13xx_cc26xx.c
i2c_cc32xx.c
i2c_dw_port_x.h
i2c_dw_registers.h
i2c_dw.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_dw.h
i2c_esp32.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_gecko.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_gpio.c
i2c_handlers.c
i2c_imx.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_ll_stm32_v1.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_ll_stm32_v2.c i2c_ll_stm32_v2: Set slave_attached to false on slave unregister 2019-07-23 10:53:22 +02:00
i2c_ll_stm32.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_ll_stm32.h
i2c_mchp_xec.c
i2c_mcux_lpi2c.c
i2c_mcux.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_nios2.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_nrfx_twi.c drivers: nrf: Fix PM for TWI and TWIM in case of multi instance 2019-07-15 12:05:19 +02:00
i2c_nrfx_twim.c drivers: nrf: Fix PM for TWI and TWIM in case of multi instance 2019-07-15 12:05:19 +02:00
i2c_qmsi_ss.c
i2c_qmsi.c
i2c_rv32m1_lpi2c.c
i2c_sam_twi.c
i2c_sam_twihs.c
i2c_sam0.c
i2c_sbcon.c
i2c_sifive.c
i2c-priv.h
Kconfig
Kconfig.cc13xx_cc26xx
Kconfig.dw
Kconfig.esp32
Kconfig.gpio
Kconfig.nrfx
Kconfig.qmsi
Kconfig.sam0
Kconfig.sbcon
Kconfig.sifive
Kconfig.stm32
Kconfig.xec