Enum ads1x1x::ComparatorMode
source · pub enum ComparatorMode {
Traditional,
Window,
}
Expand description
Comparator mode (only for ADS1x14, ADS1x15)
Variants§
Traditional
Traditional comparator (default)
In this mode the ALERT/RDY pin asserts (according to selected active polarity) when the conversion data exceeds the limit set as high threshold and remains active until the conversion data falls below the value set as low threshold.
Window
Window comparator
In this mode the ALERT/RDY pin asserts (according to selected active polarity) when the conversion data exceeds the value set as high threshold or goes below the value set as low temperature threshold.
Trait Implementations§
source§impl Clone for ComparatorMode
impl Clone for ComparatorMode
source§fn clone(&self) -> ComparatorMode
fn clone(&self) -> ComparatorMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more