CONFIG_IIS2DH_RANGE

Accelerometer Full-scale range setting

Type: int

Help

Specify the default accelerometer full-scale range. Valid values are: 0: Full Scale selected at runtime 2: +/- 2g 4: +/- 4g 8: +/- 8g 16: +/- 16g

Direct dependencies

IIS2DH && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

At <Zephyr>/drivers/sensor/iis2dh/Kconfig:57

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:62<Zephyr>/drivers/sensor/Kconfig:95

Menu path: (Top) → Device Drivers → Sensor Drivers → IIS2DH I2C/SPI accelerometer sensor driver

config IIS2DH_RANGE
    int "Accelerometer Full-scale range setting"
    default 0
    depends on IIS2DH && SENSOR
    help
      Specify the default accelerometer full-scale range.
      Valid values are:
      0:  Full Scale selected at runtime
      2:  +/- 2g
      4:  +/- 4g
      8:  +/- 8g
      16: +/- 16g

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)