-
CONFIG_LPS22HB_I2C_ADDR
¶
I2C address
Type: hex
Help¶
I2C address of the LPS22HB sensor. Use 0x5C if the SA0 pin is pulled to GND or 0x5D if the SA0 pin is pulled to VDD.
Direct dependencies¶
LPS22HB
&& !HAS_DTS_I2C_DEVICE
&& SENSOR
(Includes any dependencies from if’s and menus.)
Defaults¶
- 0x5D if
LPS22HB
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
Kconfig definition¶
At drivers/sensor/lps22hb/Kconfig:23
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:64
→ drivers/sensor/Kconfig:86
Menu path: (top menu) → Device Drivers → Sensor Drivers
config LPS22HB_I2C_ADDR hex prompt "I2C address" ifLPS22HB
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
range 0x5C 0x5D ifLPS22HB
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
default 0x5D ifLPS22HB
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
depends onLPS22HB
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
help I2C address of the LPS22HB sensor. Use 0x5C if the SA0 pin is pulled to GND or 0x5D if the SA0 pin is pulled to VDD.
(Definitions include propagated dependencies, including from if’s and menus.)