CONFIG_LIS3MDL_I2C_ADDR

I2C address

Type: hex

Help

I2C address of the LIS3MDL sensor. Use 0x1C if the SA1 pin is pulled to GND or 0x1E if the SA1 pin is pulled to VDD.

Direct dependencies

LIS3MDL && !HAS_DTS_I2C_DEVICE && SENSOR

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/sensor/lis3mdl/Kconfig:22

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:64drivers/sensor/Kconfig:84

Menu path: (top menu) → Device Drivers → Sensor Drivers

config LIS3MDL_I2C_ADDR
    hex
    prompt "I2C address" if LIS3MDL && !HAS_DTS_I2C_DEVICE && SENSOR
    default 0x1C if LIS3MDL && !HAS_DTS_I2C_DEVICE && SENSOR
    depends on LIS3MDL && !HAS_DTS_I2C_DEVICE && SENSOR
    help
      I2C address of the LIS3MDL sensor.
      Use 0x1C if the SA1 pin is pulled to GND or 0x1E if the SA1 pin
      is pulled to VDD.

(Definitions include propagated dependencies, including from if’s and menus.)