CONFIG_AK8975_I2C_MASTER_DEV_NAME

I2C master where AK8975 is connected

Type: string

Help

Specify the device name of the I2C master device to which the AK8975 chip is connected.

Direct dependencies

AK8975 && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • “I2C_0”

Kconfig definition

At drivers/sensor/ak8975/Kconfig:35

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:56drivers/sensor/Kconfig:38

Menu path: (Top) → Device Drivers → Sensor Drivers → AK8975 Magnetometer

config AK8975_I2C_MASTER_DEV_NAME
    string "I2C master where AK8975 is connected"
    default "I2C_0"
    depends on AK8975 && SENSOR
    help
      Specify the device name of the I2C master device to which the
      AK8975 chip is connected.

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