-
CONFIG_LIS3MDL_I2C_ADDR
¶
I2C address
Type: hex
Help¶
I2C address of the LIS3MDL sensor. Use 0x1C if the SA1 pin is pulled to GND or 0x1E if the SA1 pin is pulled to VDD.
Direct dependencies¶
LIS3MDL
&& !HAS_DTS_I2C_DEVICE
&& SENSOR
(Includes any dependencies from if’s and menus.)
Defaults¶
- 0x1C if
LIS3MDL
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
Kconfig definition¶
At drivers/sensor/lis3mdl/Kconfig:22
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:64
→ drivers/sensor/Kconfig:84
Menu path: (top menu) → Device Drivers → Sensor Drivers
config LIS3MDL_I2C_ADDR hex prompt "I2C address" ifLIS3MDL
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
default 0x1C ifLIS3MDL
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
depends onLIS3MDL
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
help I2C address of the LIS3MDL sensor. Use 0x1C if the SA1 pin is pulled to GND or 0x1E if the SA1 pin is pulled to VDD.
(Definitions include propagated dependencies, including from if’s and menus.)