:orphan: .. title:: AK8975_I2C_ADDR .. option:: CONFIG_AK8975_I2C_ADDR *I2C address* Type: ``hex`` Help ==== I2C address of the AK8975 sensor. Choose: - 0x0C if CAD1 connected to GND and CAD0 is connected to GND - 0x0D if CAD1 connected to GND and CAD0 is connected to VDD - 0x0E if CAD1 connected to VDD and CAD0 is connected to GND - 0x0F if CAD1 connected to VDD and CAD0 is connected to VDD If the AK8975 sensor is part of a MPU9159 chip, the I2C address needs to be 0x0C. Direct dependencies =================== \ :option:`AK8975 ` && \ :option:`SENSOR ` *(Includes any dependencies from if's and menus.)* Defaults ======== - 0x0C if \ :option:`AK8975 ` && \ :option:`SENSOR ` Kconfig definition ================== .. highlight:: kconfig At ``drivers/sensor/ak8975/Kconfig:23`` Included via ``Kconfig:10`` → ``Kconfig.zephyr:35`` → ``drivers/Kconfig:64`` → ``drivers/sensor/Kconfig:34`` Menu path: (top menu) → Device Drivers → Sensor Drivers → AK8975 Magnetometer .. parsed-literal:: config AK8975_I2C_ADDR hex prompt "I2C address" if \ :option:`AK8975 ` && \ :option:`SENSOR ` range 0x0C 0x0F if \ :option:`AK8975 ` && \ :option:`SENSOR ` default 0x0C if \ :option:`AK8975 ` && \ :option:`SENSOR ` depends on \ :option:`AK8975 ` && \ :option:`SENSOR ` help I2C address of the AK8975 sensor. Choose: - 0x0C if CAD1 connected to GND and CAD0 is connected to GND - 0x0D if CAD1 connected to GND and CAD0 is connected to VDD - 0x0E if CAD1 connected to VDD and CAD0 is connected to GND - 0x0F if CAD1 connected to VDD and CAD0 is connected to VDD If the AK8975 sensor is part of a MPU9159 chip, the I2C address needs to be 0x0C. *(Definitions include propagated dependencies, including from if's and menus.)*