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 <Zephyr>/drivers/sensor/lsm303dlhc_magn/Kconfig:12

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

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