M5Unit-HEART 0.0.2 git rev:70607f7
Loading...
Searching...
No Matches
m5::unit::max30100::SpO2Configuration Struct Reference

Accessor for SpO2Configuration. More...

#include <unit_MAX30100.hpp>

Public Member Functions

Getter
bool highResolution () const
 
Sampling samplingRate () const
 
LedPulseWidth ledPulseWidth () const
 
Setter
void highResolution (const bool b)
 
void samplingRate (const Sampling rate)
 
void ledPulseWidth (const LedPulseWidth width)
 

Public Attributes

uint8_t value {}
 

Detailed Description

Accessor for SpO2Configuration.

Warning
Note that there are different combinations that can be set depending on the mode
  • Mode:SPO2
    Sampling\PulseWidth 200 400 800 1600
    50 o o o o
    100 o o o o
    167 o o o x
    200 o o o x
    400 o o x x
    600 o x x x
    800 o x x x
    1000 o x x x
  • Mode:HROnly
    Sampling\PulseWidth 200 400 800 1600
    50 o o o o
    100 o o o o
    167 o o o x
    200 o o o x
    400 o o x x
    600 o o x x
    800 o o x x
    1000 o o x x