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
Default¶
- 0 
Kconfig definition¶
At <Zephyr Driver>/sensor/lsm6dsl/Kconfig:112
Included via Kconfig:8 → Kconfig.zephyr:42 → <Zephyr Driver>/Kconfig:64 → <Zephyr Driver>/sensor/Kconfig:147
Menu path: (Top) → Device Drivers → Sensor Drivers → LSM6DSL I2C/SPI accelerometer and gyroscope Chip → Attributes
config LSM6DSL_ACCEL_FS
    int "Accelerometer full-scale range"
    default 0
    depends on 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
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)