CONFIG_MAX30101_SMP_AVE

Sample averaging

Type: int

Help

To reduce the amount of data throughput, adjacent samples (in each individual channel) can be averaged and decimated on the chip by setting this register. Set to 0 for no averaging. 0 = 1 sample (no averaging) 1 = 2 samples 2 = 4 samples 3 = 8 samples 4 = 16 samples 5 = 32 samples 6 = 32 samples 7 = 32 samples

Direct dependencies

MAX30101 && SENSOR

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

Defaults

Kconfig definition

At drivers/sensor/max30101/Kconfig:26

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:64drivers/sensor/Kconfig:98

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

config MAX30101_SMP_AVE
    int
    prompt "Sample averaging" if MAX30101 && SENSOR
    range 0 7 if MAX30101 && SENSOR
    default 0 if MAX30101 && SENSOR
    depends on MAX30101 && SENSOR
    help
      To reduce the amount of data throughput, adjacent samples (in each
      individual channel) can be averaged and decimated on the chip by
      setting this register. Set to 0 for no averaging.
      0 = 1 sample (no averaging)
      1 = 2 samples
      2 = 4 samples
      3 = 8 samples
      4 = 16 samples
      5 = 32 samples
      6 = 32 samples
      7 = 32 samples

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