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

Defaults

  • 1

Kconfig definition

At drivers/sensor/lsm303dlhc_magn/Kconfig:15

Included via Kconfig:10Kconfig.zephyr:40drivers/Kconfig:64drivers/sensor/Kconfig:94

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