pub enum Latch {
TransparentHysteresis,
LatchedWindow,
}Expand description
The interrupt reporting style, the latch field (configuration bit 4).
Variants§
TransparentHysteresis
Transparent hysteresis-style comparison: the INT pin and flags follow the comparison directly, with no clearing event.
LatchedWindow
Latched window-style comparison: the INT pin and flags hold until the configuration register is read (the default).
Trait Implementations§
impl Copy for Latch
impl Eq for Latch
impl StructuralPartialEq for Latch
Auto Trait Implementations§
impl Freeze for Latch
impl RefUnwindSafe for Latch
impl Send for Latch
impl Sync for Latch
impl Unpin for Latch
impl UnsafeUnpin for Latch
impl UnwindSafe for Latch
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