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
Default¶
- 0 
Kconfig definition¶
At <Zephyr Driver>/sensor/max30101/Kconfig:12
Included via Kconfig:8 → Kconfig.zephyr:42 → <Zephyr Driver>/Kconfig:64 → <Zephyr Driver>/sensor/Kconfig:159
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.)