This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_FXAS21002_RANGE

Full scale range

Type: int

Help

Selects the full scale range
0: +/-2000 dps (62.5 mdps/LSB)
1: +/-1000 dps (31.25 mdps/LSB)
2: +/-500 dps (15.625 mdps/LSB)
3: +/-250 dps (7.8125 mdps/LSB)

Direct dependencies

FXAS21002 && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

At drivers/sensor/fxas21002/Kconfig:23

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:62drivers/sensor/Kconfig:87

Menu path: (Top) → Device Drivers → Sensor Drivers → FXAS21002 gyroscope driver

config FXAS21002_RANGE
    int "Full scale range"
    range 0 3
    default 0
    depends on FXAS21002 && SENSOR
    help
      Selects the full scale range
      0: +/-2000 dps (62.5 mdps/LSB)
      1: +/-1000 dps (31.25 mdps/LSB)
      2: +/-500 dps (15.625 mdps/LSB)
      3: +/-250 dps (7.8125 mdps/LSB)

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