Enum ads1x1x::ComparatorQueue
source · pub enum ComparatorQueue {
One,
Two,
Four,
}
Expand description
Comparator alert queue (only for ADS1x14, ADS1x15)
The default state of the comparator is deactivated. It can be activated by setting the comparator queue.
Variants§
One
Activate comparator and assert after one conversion exceeding thresholds
Two
Activate comparator and assert after two consecutive conversions exceeding thresholds
Four
Activate comparator and assert after four consecutive conversions exceeding thresholds
Trait Implementations§
source§impl Clone for ComparatorQueue
impl Clone for ComparatorQueue
source§fn clone(&self) -> ComparatorQueue
fn clone(&self) -> ComparatorQueue
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