CONFIG_LSM6DSL_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

LSM6DSL && LSM6DSL && SENSOR

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/sensor/lsm6dsl/Kconfig:242

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:64drivers/sensor/Kconfig:92

Menu path: (top menu) → Device Drivers → Sensor Drivers → Attributes

config LSM6DSL_ACCEL_FS
    int
    prompt "Accelerometer full-scale range" if LSM6DSL && LSM6DSL && SENSOR
    default 0 if LSM6DSL && LSM6DSL && SENSOR
    depends on LSM6DSL && LSM6DSL && 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

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