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 if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At drivers/sensor/lis2dh/Kconfig:9

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:64drivers/sensor/Kconfig:76

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

menuconfig LIS2DH
    bool
    prompt "LIS2DH Three Axis Accelerometer" if ((I2C && HAS_DTS_I2C) || (SPI && HAS_DTS_SPI)) && SENSOR
    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.

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