The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_LSM6DS0_ACCEL_FULLSCALE

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 2, 4, 8 and 16.

Direct dependencies

LSM6DS0 && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 2

Kconfig definition

At drivers/sensor/lsm6ds0/Kconfig:83

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:64drivers/sensor/Kconfig:145

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

config LSM6DS0_ACCEL_FULLSCALE
    int "Accelerometer full-scale range"
    default 2
    depends on LSM6DS0 && SENSOR
    help
      Specify the default accelerometer full-scale range.
      An X value for the config represents a range of +/- X G. Valid values
      are 2, 4, 8 and 16.

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