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

Full-scale range

Type: string

Help

Magnetometer full-scale range. An X value for the config represents a range of +/- X gauss. Valid values are 0.88, 1.3, 1.9, 2.5, 4, 4.7, 5.6 and 8.1.

Direct dependencies

HMC5883L && SENSOR

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

Defaults

Kconfig definition

At drivers/sensor/hmc5883l/Kconfig:90

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

Menu path: (top menu) → Device Drivers → Sensor Drivers → HMC5883L magnetometer

config HMC5883L_FS
    string
    prompt "Full-scale range" if HMC5883L && SENSOR
    default "1.3" if HMC5883L && SENSOR
    depends on HMC5883L && SENSOR
    help
      Magnetometer full-scale range.
      An X value for the config represents a range of +/- X gauss. Valid
      values are 0.88, 1.3, 1.9, 2.5, 4, 4.7, 5.6 and 8.1.

(Definitions include propagated dependencies, including from if’s and menus.)