#[repr(u8)]pub enum PRESCSYNCSELECT_A {
GCLK = 0,
PRESC = 1,
RESYNC = 2,
}
Expand description
Prescaler and Counter Synchronization
Value on reset: 0
Variants§
GCLK = 0
0: Reload or reset the counter on next generic clock
PRESC = 1
1: Reload or reset the counter on next prescaler clock
RESYNC = 2
2: Reload or reset the counter on next generic clock and reset the prescaler counter
Trait Implementations§
source§impl Clone for PRESCSYNCSELECT_A
impl Clone for PRESCSYNCSELECT_A
source§fn clone(&self) -> PRESCSYNCSELECT_A
fn clone(&self) -> PRESCSYNCSELECT_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 PRESCSYNCSELECT_A
impl Debug for PRESCSYNCSELECT_A
source§impl From<PRESCSYNCSELECT_A> for u8
impl From<PRESCSYNCSELECT_A> for u8
source§fn from(variant: PRESCSYNCSELECT_A) -> Self
fn from(variant: PRESCSYNCSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for PRESCSYNCSELECT_A
impl PartialEq for PRESCSYNCSELECT_A
source§fn eq(&self, other: &PRESCSYNCSELECT_A) -> bool
fn eq(&self, other: &PRESCSYNCSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PRESCSYNCSELECT_A
impl Eq for PRESCSYNCSELECT_A
impl StructuralPartialEq for PRESCSYNCSELECT_A
Auto Trait Implementations§
impl Freeze for PRESCSYNCSELECT_A
impl RefUnwindSafe for PRESCSYNCSELECT_A
impl Send for PRESCSYNCSELECT_A
impl Sync for PRESCSYNCSELECT_A
impl Unpin for PRESCSYNCSELECT_A
impl UnwindSafe for PRESCSYNCSELECT_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