M5Unit-METER 0.0.3 git rev:c518ea3
Loading...
Searching...
No Matches
m5::unit::ads111x::Config Struct Reference

Accessor for configration. More...

#include <unit_ADS111x.hpp>

Public Member Functions

Getter
bool os () const
 Operational status.
 
Mux mux () const
 Input multiplexer.
 
Gain pga () const
 Programmable gain amplifier.
 
bool mode () const
 Device operating mode.
 
Sampling dr () const
 Sampling rate.
 
bool comp_mode () const
 Comparator mode.
 
bool comp_pol () const
 Comparator polarity.
 
bool comp_lat () const
 Latching comparator.
 
ComparatorQueue comp_que () const
 Comparator queue.
 
Setter
void os (const bool b)
 
void mux (const Mux m)
 
void pga (const Gain g)
 
void mode (const bool b)
 
void dr (const Sampling r)
 
void comp_mode (const bool b)
 
void comp_pol (const bool b)
 
void comp_lat (const bool b)
 
void comp_que (const ComparatorQueue c)
 

Public Attributes

uint16_t value {}
 

Detailed Description

Accessor for configration.

Member Function Documentation

◆ comp_lat()

bool m5::unit::ads111x::Config::comp_lat ( ) const
inline

Latching comparator.

Warning
This feature serve nofunction on the ADS1113

◆ comp_mode()

bool m5::unit::ads111x::Config::comp_mode ( ) const
inline

Comparator mode.

Warning
This feature serve nofunction on the ADS1113

◆ comp_pol()

bool m5::unit::ads111x::Config::comp_pol ( ) const
inline

Comparator polarity.

Warning
This feature serve nofunction on the ADS1113

◆ comp_que()

ComparatorQueue m5::unit::ads111x::Config::comp_que ( ) const
inline

Comparator queue.

Warning
This feature serve nofunction on the ADS1113

◆ mux()

Mux m5::unit::ads111x::Config::mux ( ) const
inline

Input multiplexer.

Warning
This feature serve nofunction on the ADS1113 and ADS1114

◆ pga()

Gain m5::unit::ads111x::Config::pga ( ) const
inline

Programmable gain amplifier.

Warning
This feature serve nofunction on the ADS1113