The latest development version of this page may be more current than this released 1.14.1 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 if’s and menus.)

Defaults

Kconfig definition

At drivers/sensor/lsm6ds0/Kconfig:86

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:62drivers/sensor/Kconfig:88

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

config LSM6DS0_ACCEL_FULLSCALE
    int
    prompt "Accelerometer full-scale range" if LSM6DS0 && SENSOR
    default 2 if LSM6DS0 && SENSOR
    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.

(Definitions include propagated dependencies, including from if’s and menus.)