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

CONFIG_LSM6DSL_GYRO_FS

Gyroscope full-scale range

Type: int

Help

Specify the default gyroscope full-scale range.
An X value for the config represents a range of +/- X degree per
second. Valid values are:
0:  Full Scale selected at runtime
125:   +/- 125dps
245:   +/- 245dps
500:   +/- 500dps
1000:  +/- 1000dps
2000:  +/- 2000dps

Direct dependencies

LSM6DSL && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

At drivers/sensor/lsm6dsl/Kconfig:79

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

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

config LSM6DSL_GYRO_FS
    int "Gyroscope full-scale range"
    default 0
    depends on LSM6DSL && SENSOR
    help
      Specify the default gyroscope full-scale range.
      An X value for the config represents a range of +/- X degree per
      second. Valid values are:
      0:  Full Scale selected at runtime
      125:   +/- 125dps
      245:   +/- 245dps
      500:   +/- 500dps
      1000:  +/- 1000dps
      2000:  +/- 2000dps

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