-
choice: Sensor Bus Type
Sensor Bus Type
Type: bool
Help¶
Specify bus type, SPI versus I2C, to which the sensor is attached.
Defaults¶
LIS2DH_BUS_SPI
ifLIS2DH
&&SENSOR
Choice options¶
Kconfig definition¶
At drivers/sensor/lis2dh/Kconfig:22
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:64
→ drivers/sensor/Kconfig:80
Menu path: (top menu) → Device Drivers → Sensor Drivers → LIS2DH Three Axis Accelerometer
choice bool prompt "Sensor Bus Type" ifLIS2DH
&&SENSOR
defaultLIS2DH_BUS_SPI
ifLIS2DH
&&SENSOR
depends onLIS2DH
&&SENSOR
help Specify bus type, SPI versus I2C, to which the sensor is attached.
(Definitions include propagated dependencies, including from if’s and menus.)