This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_I2C_DW_CLOCK_SPEED

Set the clock speed for I2C

Type: int

Direct dependencies

(I2C_DW && I2C && BOARD_EM_STARTERKIT) || (I2C_DW && I2C && BOARD_HSDK) || (I2C_DW && I2C)

(Includes any dependencies from ifs and menus.)

Defaults

  • 100

  • 200

  • 32

Kconfig definitions

At boards/arc/em_starterkit/Kconfig.defconfig:38

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config I2C_DW_CLOCK_SPEED
    int
    default 100
    depends on I2C_DW && I2C && BOARD_EM_STARTERKIT

At boards/arc/hsdk/Kconfig.defconfig:56

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config I2C_DW_CLOCK_SPEED
    int
    default 200
    depends on I2C_DW && I2C && BOARD_HSDK

At drivers/i2c/Kconfig.dw:15

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:40drivers/i2c/Kconfig:28

Menu path: (Top) → Device Drivers → I2C Drivers → Design Ware I2C support

config I2C_DW_CLOCK_SPEED
    int "Set the clock speed for I2C"
    default 32
    depends on I2C_DW && I2C

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)