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

CONFIG_MAX30101_ADC_RGE

ADC range control

Type: int

Help

Set the ADC's full-scale range.
0 = 7.81 pA/LSB
1 = 15.63 pA/LSB
2 = 31.25 pA/LSB
3 = 62.5 pA/LSB

Direct dependencies

MAX30101 && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 2

Kconfig definition

At drivers/sensor/max30101/Kconfig:68

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

Menu path: (Top) → Device Drivers → Sensor Drivers → MAX30101 Pulse Oximeter and Heart Rate Sensor

config MAX30101_ADC_RGE
    int "ADC range control"
    range 0 3
    default 2
    depends on MAX30101 && SENSOR
    help
      Set the ADC's full-scale range.
      0 = 7.81 pA/LSB
      1 = 15.63 pA/LSB
      2 = 31.25 pA/LSB
      3 = 62.5 pA/LSB

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