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 <Zephyr>/drivers/sensor/hmc5883l/Kconfig:58

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:62<Zephyr>/drivers/sensor/Kconfig:89

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.)