-
CONFIG_BMA280_I2C_ADDR
¶
BMA280 I2C address
Type: hex
Help¶
I2C address of the BMA280 sensor.
0x10: Use if the SDO pin is pulled to GND. 0x10: Use if the SDO pin is pulled to VDDIO. 0x18: Use if the SDO pin is pulled to GND. 0x19: Use if the SDO pin is pulled to VDDIO.
Defaults¶
- 0x18 if
BMA280_CHIP_BMA280
&&BMA280
&&SENSOR
- 0x10 if
BMA280_CHIP_BMC150_ACCEL
&&BMA280
&&SENSOR
Kconfig definition¶
At drivers/sensor/bma280/Kconfig:43
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:64
→ drivers/sensor/Kconfig:50
Menu path: (top menu) → Device Drivers → Sensor Drivers → BMA280 Three Axis Accelerometer Family
config BMA280_I2C_ADDR hex prompt "BMA280 I2C address" ifBMA280
&&SENSOR
default 0x18 ifBMA280_CHIP_BMA280
&&BMA280
&&SENSOR
default 0x10 ifBMA280_CHIP_BMC150_ACCEL
&&BMA280
&&SENSOR
depends onBMA280
&&SENSOR
help I2C address of the BMA280 sensor. 0x10: Use if the SDO pin is pulled to GND. 0x10: Use if the SDO pin is pulled to VDDIO. 0x18: Use if the SDO pin is pulled to GND. 0x19: Use if the SDO pin is pulled to VDDIO.
(Definitions include propagated dependencies, including from if’s and menus.)