CONFIG_LIS2DS12_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

LIS2DS12 && SENSOR

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

Defaults

Kconfig definition

At drivers/sensor/lis2ds12/Kconfig:60

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:64drivers/sensor/Kconfig:78

Menu path: (top menu) → Device Drivers → Sensor Drivers → LIS2DS12 I2C/SPI accelerometer sensor driver → Attributes

config LIS2DS12_FS
    int
    prompt "Accelerometer full-scale range" if LIS2DS12 && SENSOR
    default 0 if LIS2DS12 && SENSOR
    depends on LIS2DS12 && 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.)