Enum atsame70n21b::pmc::mckr::PRESSELECT_A
source · #[repr(u8)]pub enum PRESSELECT_A {
CLK_1 = 0,
CLK_2 = 1,
CLK_4 = 2,
CLK_8 = 3,
CLK_16 = 4,
CLK_32 = 5,
CLK_64 = 6,
CLK_3 = 7,
}
Expand description
Processor Clock Prescaler
Value on reset: 0
Variants§
CLK_1 = 0
0: Selected clock
CLK_2 = 1
1: Selected clock divided by 2
CLK_4 = 2
2: Selected clock divided by 4
CLK_8 = 3
3: Selected clock divided by 8
CLK_16 = 4
4: Selected clock divided by 16
CLK_32 = 5
5: Selected clock divided by 32
CLK_64 = 6
6: Selected clock divided by 64
CLK_3 = 7
7: Selected clock divided by 3
Trait Implementations§
source§impl Clone for PRESSELECT_A
impl Clone for PRESSELECT_A
source§fn clone(&self) -> PRESSELECT_A
fn clone(&self) -> PRESSELECT_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 PRESSELECT_A
impl Debug for PRESSELECT_A
source§impl From<PRESSELECT_A> for u8
impl From<PRESSELECT_A> for u8
source§fn from(variant: PRESSELECT_A) -> Self
fn from(variant: PRESSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for PRESSELECT_A
impl PartialEq for PRESSELECT_A
source§fn eq(&self, other: &PRESSELECT_A) -> bool
fn eq(&self, other: &PRESSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PRESSELECT_A
impl Eq for PRESSELECT_A
impl StructuralEq for PRESSELECT_A
impl StructuralPartialEq for PRESSELECT_A
Auto Trait Implementations§
impl RefUnwindSafe for PRESSELECT_A
impl Send for PRESSELECT_A
impl Sync for PRESSELECT_A
impl Unpin for PRESSELECT_A
impl UnwindSafe for PRESSELECT_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