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

CONFIG_MPU6050_ACCEL_FS

Accelerometer full-scale range

Type: int

Help

Magnetometer full-scale range.
An X value for the config represents a range of +/- X g. Valid
values are 2, 4, 8 and 16.

Direct dependencies

MPU6050 && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 2

Kconfig definition

At drivers/sensor/mpu6050/Kconfig:52

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

Menu path: (Top) → Device Drivers → Sensor Drivers → MPU6050 Six-Axis Motion Tracking Device

config MPU6050_ACCEL_FS
    int "Accelerometer full-scale range"
    default 2
    depends on MPU6050 && SENSOR
    help
      Magnetometer full-scale range.
      An X value for the config represents a range of +/- X g. Valid
      values are 2, 4, 8 and 16.

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