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 <Zephyr>/drivers/sensor/lsm6ds0/Kconfig:83

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

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.)