Enum atsame54n::oscctrl::xoscctrl::CFDPRESCSELECT_A
source · #[repr(u8)]pub enum CFDPRESCSELECT_A {
DIV1 = 0,
DIV2 = 1,
DIV4 = 2,
DIV8 = 3,
DIV16 = 4,
DIV32 = 5,
DIV64 = 6,
DIV128 = 7,
}
Expand description
Clock Failure Detector Prescaler
Value on reset: 0
Variants§
DIV1 = 0
0: 48 MHz
DIV2 = 1
1: 24 MHz
DIV4 = 2
2: 12 MHz
DIV8 = 3
3: 6 MHz
DIV16 = 4
4: 3 MHz
DIV32 = 5
5: 1.5 MHz
DIV64 = 6
6: 0.75 MHz
DIV128 = 7
7: 0.3125 MHz
Trait Implementations§
source§impl Clone for CFDPRESCSELECT_A
impl Clone for CFDPRESCSELECT_A
source§fn clone(&self) -> CFDPRESCSELECT_A
fn clone(&self) -> CFDPRESCSELECT_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 CFDPRESCSELECT_A
impl Debug for CFDPRESCSELECT_A
source§impl From<CFDPRESCSELECT_A> for u8
impl From<CFDPRESCSELECT_A> for u8
source§fn from(variant: CFDPRESCSELECT_A) -> Self
fn from(variant: CFDPRESCSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for CFDPRESCSELECT_A
impl PartialEq for CFDPRESCSELECT_A
source§fn eq(&self, other: &CFDPRESCSELECT_A) -> bool
fn eq(&self, other: &CFDPRESCSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CFDPRESCSELECT_A
impl Eq for CFDPRESCSELECT_A
impl StructuralPartialEq for CFDPRESCSELECT_A
Auto Trait Implementations§
impl Freeze for CFDPRESCSELECT_A
impl RefUnwindSafe for CFDPRESCSELECT_A
impl Send for CFDPRESCSELECT_A
impl Sync for CFDPRESCSELECT_A
impl Unpin for CFDPRESCSELECT_A
impl UnwindSafe for CFDPRESCSELECT_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