-
CONFIG_LIS3DH_I2C_ADDR
¶
LIS3DH I2C address
Type: hex
Help¶
I2C address of the LIS3DH 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.
Kconfig definition¶
At drivers/sensor/lis3dh/Kconfig:22
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:64
→ drivers/sensor/Kconfig:82
Menu path: (top menu) → Device Drivers → Sensor Drivers → LIS3DH Three Axis Accelerometer
config LIS3DH_I2C_ADDR hex prompt "LIS3DH I2C address" ifLIS3DH
&&SENSOR
default 0x18 ifLIS3DH
&&SENSOR
depends onLIS3DH
&&SENSOR
help I2C address of the LIS3DH 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.)