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 ifs and menus.)

Default

  • “1.3”

Kconfig definition

At drivers/sensor/hmc5883l/Kconfig:58

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:56drivers/sensor/Kconfig:74

Menu path: (Top) → Device Drivers → Sensor Drivers → HMC5883L magnetometer

config HMC5883L_FS
    string "Full-scale range"
    default "1.3"
    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.

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