-
CONFIG_FXAS21002_I2C_ADDRESS
¶
I2C address
Type: hex
Help¶
The I2C slave address can be configured by the SA0 input pin. This option should usually be set by the board defconfig.
Direct dependencies¶
!HAS_DTS_I2C_DEVICE
&& FXAS21002
&& SENSOR
(Includes any dependencies from if’s and menus.)
Defaults¶
- 0x20 if !
HAS_DTS_I2C_DEVICE
&&FXAS21002
&&SENSOR
Kconfig definition¶
At drivers/sensor/fxas21002/Kconfig:26
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:64
→ drivers/sensor/Kconfig:66
Menu path: (top menu) → Device Drivers → Sensor Drivers → FXAS21002 gyroscope driver
config FXAS21002_I2C_ADDRESS hex prompt "I2C address" if !HAS_DTS_I2C_DEVICE
&&FXAS21002
&&SENSOR
range 0x20 0x21 if !HAS_DTS_I2C_DEVICE
&&FXAS21002
&&SENSOR
default 0x20 if !HAS_DTS_I2C_DEVICE
&&FXAS21002
&&SENSOR
depends on !HAS_DTS_I2C_DEVICE
&&FXAS21002
&&SENSOR
help The I2C slave address can be configured by the SA0 input pin. This option should usually be set by the board defconfig.
(Definitions include propagated dependencies, including from if’s and menus.)