pub enum WindowMode {
Disabled,
Enabled,
}Expand description
Window mode configuration.
Window mode allows two comparators to work together to detect if a signal is within a voltage window defined by the two comparators’ thresholds.
Variants§
Disabled
Window mode disabled. Each comparator works independently.
Enabled
Window mode enabled. This comparator uses the non-inverting input from the other comparator in the pair (COMP1/COMP2).
Trait Implementations§
Source§impl Clone for WindowMode
impl Clone for WindowMode
Source§fn clone(&self) -> WindowMode
fn clone(&self) -> WindowMode
Returns a duplicate 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 moreSource§impl Debug for WindowMode
impl Debug for WindowMode
Source§impl Default for WindowMode
impl Default for WindowMode
Source§fn default() -> WindowMode
fn default() -> WindowMode
Returns the “default value” for a type. Read more
Source§impl Format for WindowMode
impl Format for WindowMode
Source§impl PartialEq for WindowMode
impl PartialEq for WindowMode
impl Copy for WindowMode
impl Eq for WindowMode
impl StructuralPartialEq for WindowMode
Auto Trait Implementations§
impl Freeze for WindowMode
impl RefUnwindSafe for WindowMode
impl Send for WindowMode
impl Sync for WindowMode
impl Unpin for WindowMode
impl UnwindSafe for WindowMode
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