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.

Direct dependencies

BMA280 && SENSOR

(Includes any dependencies from if’s and menus.)

Kconfig definition

At drivers/sensor/bma280/Kconfig:43

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:64drivers/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" if BMA280 && SENSOR
    default 0x18 if BMA280_CHIP_BMA280 && BMA280 && SENSOR
    default 0x10 if BMA280_CHIP_BMC150_ACCEL && BMA280 && SENSOR
    depends on BMA280 && 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.)