Enum ads1x1x::ComparatorLatching
source · pub enum ComparatorLatching {
Nonlatching,
Latching,
}
Expand description
Comparator polarity (only for ADS1x14, ADS1x15)
Select whether the ALERT/RDY pin latches after being asserted or clears after conversions are within the margin of the upper and lower threshold values.
Variants§
Nonlatching
Nonlatching (default)
The ALERT/RDY pin does not latch when asserted.
Latching
Latching
The asserted ALERT/RDY pin remains latched until conversion data are read by the master or an appropriate SMBus alert response is sent by the master. The device responds with its address, and it is the lowest address currently asserting the ALERT/RDY bus line.
Trait Implementations§
source§impl Clone for ComparatorLatching
impl Clone for ComparatorLatching
source§fn clone(&self) -> ComparatorLatching
fn clone(&self) -> ComparatorLatching
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