pub enum ComparatorQueue {
AfterOne,
AfterTwo,
AfterFour,
Disabled,
}Expand description
The comparator queue, or disable (Config bits 1:0).
Variants§
AfterOne
Assert after one conversion beyond a threshold.
AfterTwo
Assert after two conversions beyond a threshold.
AfterFour
Assert after four conversions beyond a threshold.
Disabled
Disable the comparator and set ALERT/RDY high-impedance (the default).
Implementations§
Trait Implementations§
Source§impl Clone for ComparatorQueue
impl Clone for ComparatorQueue
Source§fn clone(&self) -> ComparatorQueue
fn clone(&self) -> ComparatorQueue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ComparatorQueue
Source§impl Debug for ComparatorQueue
impl Debug for ComparatorQueue
impl Eq for ComparatorQueue
Source§impl PartialEq for ComparatorQueue
impl PartialEq for ComparatorQueue
Source§fn eq(&self, other: &ComparatorQueue) -> bool
fn eq(&self, other: &ComparatorQueue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ComparatorQueue
Auto Trait Implementations§
impl Freeze for ComparatorQueue
impl RefUnwindSafe for ComparatorQueue
impl Send for ComparatorQueue
impl Sync for ComparatorQueue
impl Unpin for ComparatorQueue
impl UnsafeUnpin for ComparatorQueue
impl UnwindSafe for ComparatorQueue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more