CONFIG_LSM6DSO_ACCEL_FS

Accelerometer full-scale range

Type: int

Help

Specify the default accelerometer full-scale range.
An X value for the config represents a range of +/- X G. Valid values
are:
0:  Full Scale selected at runtime
2:  +/- 2g
4:  +/- 4g
8:  +/- 8g
16: +/- 16g

Direct dependencies

LSM6DSO && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

At <Zephyr>/drivers/sensor/lsm6dso/Kconfig:123

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:40<Zephyr>/drivers/Kconfig:62<Zephyr>/drivers/sensor/Kconfig:143

Menu path: (Top) → Device Drivers → Sensor Drivers → LSM6DSO I2C/SPI accelerometer and gyroscope Chip → Attributes

config LSM6DSO_ACCEL_FS
    int "Accelerometer full-scale range"
    default 0
    depends on LSM6DSO && SENSOR
    help
      Specify the default accelerometer full-scale range.
      An X value for the config represents a range of +/- X G. 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.)