Enum atsamv71q20b::afec0::emr::CMPMODESELECT_A
source · [−]#[repr(u8)]
pub enum CMPMODESELECT_A {
LOW,
HIGH,
IN,
OUT,
}
Expand description
Comparison Mode
Value on reset: 0
Variants
LOW
0: Generates an event when the converted data is lower than the low threshold of the window.
HIGH
1: Generates an event when the converted data is higher than the high threshold of the window.
IN
2: Generates an event when the converted data is in the comparison window.
OUT
3: Generates an event when the converted data is out of the comparison window.
Trait Implementations
sourceimpl Clone for CMPMODESELECT_A
impl Clone for CMPMODESELECT_A
sourcefn clone(&self) -> CMPMODESELECT_A
fn clone(&self) -> CMPMODESELECT_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CMPMODESELECT_A
impl Debug for CMPMODESELECT_A
sourceimpl From<CMPMODESELECT_A> for u8
impl From<CMPMODESELECT_A> for u8
sourcefn from(variant: CMPMODESELECT_A) -> Self
fn from(variant: CMPMODESELECT_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CMPMODESELECT_A> for CMPMODESELECT_A
impl PartialEq<CMPMODESELECT_A> for CMPMODESELECT_A
sourcefn eq(&self, other: &CMPMODESELECT_A) -> bool
fn eq(&self, other: &CMPMODESELECT_A) -> bool
impl Copy for CMPMODESELECT_A
impl StructuralPartialEq for CMPMODESELECT_A
Auto Trait Implementations
impl RefUnwindSafe for CMPMODESELECT_A
impl Send for CMPMODESELECT_A
impl Sync for CMPMODESELECT_A
impl Unpin for CMPMODESELECT_A
impl UnwindSafe for CMPMODESELECT_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more