This is the documentation for the latest (master) 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_SAM0

SAM0 series I2C SERCOM driver

Type: bool

Help

Enable the SAM0 series SERCOM I2C driver.

Direct dependencies

SOC_FAMILY_SAM0 || (SOC_FAMILY_SAM0 && I2C)

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definitions

At soc/arm/atmel_sam0/common/Kconfig.defconfig.series:26

Included via Kconfig:8Kconfig.zephyr:25doc/_build/Kconfig/Kconfig.soc.defconfig:1soc/arm/atmel_sam0/Kconfig.defconfig:6

Menu path: (Top)

config I2C_SAM0
    bool
    default I2C
    depends on SOC_FAMILY_SAM0

At drivers/i2c/Kconfig.sam0:4

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:40drivers/i2c/Kconfig:38

Menu path: (Top) → Device Drivers → I2C Drivers

menuconfig I2C_SAM0
    bool "SAM0 series I2C SERCOM driver"
    default y
    depends on SOC_FAMILY_SAM0 && I2C
    help
      Enable the SAM0 series SERCOM I2C driver.

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