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 <Zephyr>/drivers/sensor/max30101/Kconfig:68

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

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