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

CONFIG_LSM303DLHC_MAGN_RANGE

Magnetometer measurement range

Type: int

Help

1: +/-1.3 gauss
2: +/-1.9 gauss
3: +/-2.5 gauss
4: +/-4 gauss
5: +/-4.7 gauss
6: +/-5.6 gauss
7: +/-8.1 gauss

Direct dependencies

LSM303DLHC_MAGN && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At drivers/sensor/lsm303dlhc_magn/Kconfig:12

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

Menu path: (Top) → Device Drivers → Sensor Drivers → LSM303DLHC Three Axis Magnetometer

config LSM303DLHC_MAGN_RANGE
    int "Magnetometer measurement range"
    range 1 7
    default 1
    depends on LSM303DLHC_MAGN && SENSOR
    help
      1: +/-1.3 gauss
      2: +/-1.9 gauss
      3: +/-2.5 gauss
      4: +/-4 gauss
      5: +/-4.7 gauss
      6: +/-5.6 gauss
      7: +/-8.1 gauss

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