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