Enum atsame54n::eic::config::SENSE3SELECT_A
source · #[repr(u8)]pub enum SENSE3SELECT_A {
NONE = 0,
RISE = 1,
FALL = 2,
BOTH = 3,
HIGH = 4,
LOW = 5,
}
Expand description
Input Sense Configuration 3
Value on reset: 0
Variants§
NONE = 0
0: No detection
RISE = 1
1: Rising edge detection
FALL = 2
2: Falling edge detection
BOTH = 3
3: Both edges detection
HIGH = 4
4: High level detection
LOW = 5
5: Low level detection
Trait Implementations§
source§impl Clone for SENSE3SELECT_A
impl Clone for SENSE3SELECT_A
source§fn clone(&self) -> SENSE3SELECT_A
fn clone(&self) -> SENSE3SELECT_A
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 SENSE3SELECT_A
impl Debug for SENSE3SELECT_A
source§impl From<SENSE3SELECT_A> for u8
impl From<SENSE3SELECT_A> for u8
source§fn from(variant: SENSE3SELECT_A) -> Self
fn from(variant: SENSE3SELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for SENSE3SELECT_A
impl PartialEq for SENSE3SELECT_A
source§fn eq(&self, other: &SENSE3SELECT_A) -> bool
fn eq(&self, other: &SENSE3SELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SENSE3SELECT_A
impl Eq for SENSE3SELECT_A
impl StructuralPartialEq for SENSE3SELECT_A
Auto Trait Implementations§
impl Freeze for SENSE3SELECT_A
impl RefUnwindSafe for SENSE3SELECT_A
impl Send for SENSE3SELECT_A
impl Sync for SENSE3SELECT_A
impl Unpin for SENSE3SELECT_A
impl UnwindSafe for SENSE3SELECT_A
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