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 ifs and menus.)

Default

  • 0

Kconfig definition

At <Zephyr>/drivers/sensor/max30101/Kconfig:12

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

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

config MAX30101_SMP_AVE
    int "Sample averaging"
    range 0 7
    default 0
    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

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