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

ADC sample rate control

Type: int

Help

Set the effective sampling rate with one sample consisting of one pulse/conversion per active LED channel. In SpO2 mode, these means one IR pulse/conversion and one red pulse/conversion per sample period. 0 = 50 Hz 1 = 100 Hz 2 = 200 Hz 3 = 400 Hz 4 = 800 Hz 5 = 1000 Hz 6 = 1600 Hz 7 = 3200 Hz

Direct dependencies

MAX30101 && SENSOR

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/sensor/max30101/Kconfig:81

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:62drivers/sensor/Kconfig:96

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

config MAX30101_SR
    int
    prompt "ADC sample rate control" if MAX30101 && SENSOR
    range 0 7 if MAX30101 && SENSOR
    default 0 if MAX30101 && SENSOR
    depends on MAX30101 && SENSOR
    help
      Set the effective sampling rate with one sample consisting of one
      pulse/conversion per active LED channel. In SpO2 mode, these means
      one IR pulse/conversion and one red pulse/conversion per sample
      period.
      0 = 50 Hz
      1 = 100 Hz
      2 = 200 Hz
      3 = 400 Hz
      4 = 800 Hz
      5 = 1000 Hz
      6 = 1600 Hz
      7 = 3200 Hz

(Definitions include propagated dependencies, including from if’s and menus.)