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