#[repr(u8)]pub enum CLOCK_SOURCE_A {
XTAL = 0,
BCLK = 1,
F32K = 2,
}
Expand description
Select group clock source
Value on reset: 0
Variants§
XTAL = 0
0: External crystal as clock source
BCLK = 1
1: Bus clock as clock source
F32K = 2
2: 32-kHz clock source
Trait Implementations§
Source§impl Clone for CLOCK_SOURCE_A
impl Clone for CLOCK_SOURCE_A
Source§fn clone(&self) -> CLOCK_SOURCE_A
fn clone(&self) -> CLOCK_SOURCE_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 CLOCK_SOURCE_A
impl Debug for CLOCK_SOURCE_A
Source§impl From<CLOCK_SOURCE_A> for u8
impl From<CLOCK_SOURCE_A> for u8
Source§fn from(variant: CLOCK_SOURCE_A) -> Self
fn from(variant: CLOCK_SOURCE_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CLOCK_SOURCE_A
impl PartialEq for CLOCK_SOURCE_A
impl Copy for CLOCK_SOURCE_A
impl Eq for CLOCK_SOURCE_A
impl StructuralPartialEq for CLOCK_SOURCE_A
Auto Trait Implementations§
impl Freeze for CLOCK_SOURCE_A
impl RefUnwindSafe for CLOCK_SOURCE_A
impl Send for CLOCK_SOURCE_A
impl Sync for CLOCK_SOURCE_A
impl Unpin for CLOCK_SOURCE_A
impl UnwindSafe for CLOCK_SOURCE_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