Enum atsame54n::eic::dprescaler::PRESCALER0SELECT_A
source · #[repr(u8)]pub enum PRESCALER0SELECT_A {
DIV2 = 0,
DIV4 = 1,
DIV8 = 2,
DIV16 = 3,
DIV32 = 4,
DIV64 = 5,
DIV128 = 6,
DIV256 = 7,
}
Expand description
Debouncer Prescaler
Value on reset: 0
Variants§
DIV2 = 0
0: EIC clock divided by 2
DIV4 = 1
1: EIC clock divided by 4
DIV8 = 2
2: EIC clock divided by 8
DIV16 = 3
3: EIC clock divided by 16
DIV32 = 4
4: EIC clock divided by 32
DIV64 = 5
5: EIC clock divided by 64
DIV128 = 6
6: EIC clock divided by 128
DIV256 = 7
7: EIC clock divided by 256
Trait Implementations§
source§impl Clone for PRESCALER0SELECT_A
impl Clone for PRESCALER0SELECT_A
source§fn clone(&self) -> PRESCALER0SELECT_A
fn clone(&self) -> PRESCALER0SELECT_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 PRESCALER0SELECT_A
impl Debug for PRESCALER0SELECT_A
source§impl From<PRESCALER0SELECT_A> for u8
impl From<PRESCALER0SELECT_A> for u8
source§fn from(variant: PRESCALER0SELECT_A) -> Self
fn from(variant: PRESCALER0SELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for PRESCALER0SELECT_A
impl PartialEq for PRESCALER0SELECT_A
source§fn eq(&self, other: &PRESCALER0SELECT_A) -> bool
fn eq(&self, other: &PRESCALER0SELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PRESCALER0SELECT_A
impl Eq for PRESCALER0SELECT_A
impl StructuralPartialEq for PRESCALER0SELECT_A
Auto Trait Implementations§
impl Freeze for PRESCALER0SELECT_A
impl RefUnwindSafe for PRESCALER0SELECT_A
impl Send for PRESCALER0SELECT_A
impl Sync for PRESCALER0SELECT_A
impl Unpin for PRESCALER0SELECT_A
impl UnwindSafe for PRESCALER0SELECT_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