-
CONFIG_LIS2DH_I2C_ADDR
¶
LIS2DH I2C address
Type: hex
Help¶
I2C address of the LIS2DH sensor.
0x18: Choose this option if the SDO pin is pulled to GND. 0x19: Choose this option if the SDO pin is pulled to VDDIO.
Direct dependencies¶
LIS2DH
&& LIS2DH_BUS_I2C
&& SENSOR
(Includes any dependencies from if’s and menus.)
Defaults¶
- 0x18 if
LIS2DH
&&LIS2DH_BUS_I2C
&&SENSOR
Kconfig definition¶
At drivers/sensor/lis2dh/Kconfig:68
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
config LIS2DH_I2C_ADDR hex prompt "LIS2DH I2C address" ifLIS2DH
&&LIS2DH_BUS_I2C
&&SENSOR
default 0x18 ifLIS2DH
&&LIS2DH_BUS_I2C
&&SENSOR
depends onLIS2DH
&&LIS2DH_BUS_I2C
&&SENSOR
help I2C address of the LIS2DH sensor. 0x18: Choose this option if the SDO pin is pulled to GND. 0x19: Choose this option if the SDO pin is pulled to VDDIO.
(Definitions include propagated dependencies, including from if’s and menus.)