M5Unit-IMU 0.0.2 git rev:e5b00aa
Loading...
Searching...
No Matches
m5::unit::UnitMAG3110::config_t Struct Reference

Settings for begin() More...

#include <unit_mag3110.hpp>

Public Attributes

bool start_periodic {true}
 Start periodic measurement on begin()?
 
mag3110::DataRate rate {mag3110::DataRate::Rate80Hz}
 
mag3110::OverSampling over_sampling {mag3110::OverSampling::X16}
 Over sampling ratio, which sets the noise floor. See mag3110::OverSampling.
 

Detailed Description

Settings for begin()

Member Data Documentation

◆ rate

mag3110::DataRate m5::unit::UnitMAG3110::config_t::rate {mag3110::DataRate::Rate80Hz}

Output data rate. Left at the chip's fastest setting for backwards compatibility, which is also its most expensive one (900µA); a slower rate cuts that by up to 100x. See mag3110::DataRate