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

Settings for begin. More...

#include <unit_MAX30100.hpp>

Public Attributes

bool start_periodic {true}
 Start periodic measurement on begin?
 
max30100::Mode mode {max30100::Mode::SPO2}
 Operating mode if start on begin.
 
max30100::Sampling sampling_rate {m5::unit::max30100::Sampling::Rate100}
 Sampling rate if start on begin.
 
max30100::LedPulseWidth pulse_width {m5::unit::max30100::LedPulseWidth::PW1600}
 Led pulse width if start on begin.
 
m5::unit::max30100::CurrentControl ir_current {m5::unit::max30100::CurrentControl::mA27_1}
 Led current for IR if start on begin.
 
bool high_resolution {true}
 The SpO2 ADC resolution if start on begin (only SpO2)
 
m5::unit::max30100::CurrentControl red_current {m5::unit::max30100::CurrentControl::mA27_1}
 Led current for Red if start on begin (only SpO2)
 

Detailed Description

Settings for begin.

Warning
Note that some combinations of sampling_rate and pulse_width are invalid. See also datasheet