CONFIG_LIS2DH

LIS2DH Three Axis Accelerometer

Type: bool

Help

Enable SPI/I2C-based driver for LIS2DH, LIS3DH, LSM303DLHC, LIS2DH12, LSM303AGR triaxial accelerometer sensors.

Direct dependencies

((I2C && HAS_DTS_I2C) || (SPI && HAS_DTS_SPI)) && SENSOR

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At drivers/sensor/lis2dh/Kconfig:9

Included via Kconfig:10Kconfig.zephyr:40drivers/Kconfig:64drivers/sensor/Kconfig:78

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

menuconfig LIS2DH
    bool "LIS2DH Three Axis Accelerometer"
    depends on ((I2C && HAS_DTS_I2C) || (SPI && HAS_DTS_SPI)) && SENSOR
    help
      Enable SPI/I2C-based driver for LIS2DH, LIS3DH, LSM303DLHC,
      LIS2DH12, LSM303AGR triaxial accelerometer sensors.

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