Enum imxrt_hal::iomuxc::Hysteresis
source · #[repr(u32)]pub enum Hysteresis {
Enabled = 65_536,
Disabled = 0,
}
Expand description
The hysteresis (HYS) bit controls whether a pin acts as a Schmitt trigger, which is a comparator remembering its last input state (hysteresis).
Variants§
Trait Implementations§
source§impl Clone for Hysteresis
impl Clone for Hysteresis
source§fn clone(&self) -> Hysteresis
fn clone(&self) -> Hysteresis
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 moresource§impl Debug for Hysteresis
impl Debug for Hysteresis
source§impl PartialEq for Hysteresis
impl PartialEq for Hysteresis
source§fn eq(&self, other: &Hysteresis) -> bool
fn eq(&self, other: &Hysteresis) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Hysteresis
impl Eq for Hysteresis
impl StructuralEq for Hysteresis
impl StructuralPartialEq for Hysteresis
Auto Trait Implementations§
impl RefUnwindSafe for Hysteresis
impl Send for Hysteresis
impl Sync for Hysteresis
impl Unpin for Hysteresis
impl UnwindSafe for Hysteresis
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