choice: Sensor Bus Type

Sensor Bus Type

Type: bool

Help

Specify bus type, SPI versus I2C, to which the sensor is attached.

Direct dependencies

LIS2DH && SENSOR

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

Defaults

Kconfig definition

At drivers/sensor/lis2dh/Kconfig:22

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

Menu path: (top menu) → Device Drivers → Sensor Drivers → LIS2DH Three Axis Accelerometer

choice
    bool
    prompt "Sensor Bus Type" if LIS2DH && SENSOR
    default LIS2DH_BUS_SPI if LIS2DH && SENSOR
    depends on LIS2DH && SENSOR
    help
      Specify bus type, SPI versus I2C, to which the sensor is attached.

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