#[repr(u8)]pub enum SpllctrlSource {
SOSC = 0,
FIRC = 1,
_RESERVED_2 = 2,
RSVD = 3,
}Variants§
SOSC = 0
SOSC
FIRC = 1
FIRC 48 MHz clock. FIRC_SCLK_PERIPH_EN must be set to use FIRC 48 MHz clock.
_RESERVED_2 = 2
RSVD = 3
No clock
Implementations§
Trait Implementations§
Source§impl Clone for SpllctrlSource
impl Clone for SpllctrlSource
Source§fn clone(&self) -> SpllctrlSource
fn clone(&self) -> SpllctrlSource
Returns a duplicate 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 SpllctrlSource
impl Debug for SpllctrlSource
Source§impl From<SpllctrlSource> for u8
impl From<SpllctrlSource> for u8
Source§fn from(val: SpllctrlSource) -> u8
fn from(val: SpllctrlSource) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SpllctrlSource
impl From<u8> for SpllctrlSource
Source§fn from(val: u8) -> SpllctrlSource
fn from(val: u8) -> SpllctrlSource
Converts to this type from the input type.
Source§impl Ord for SpllctrlSource
impl Ord for SpllctrlSource
Source§fn cmp(&self, other: &SpllctrlSource) -> Ordering
fn cmp(&self, other: &SpllctrlSource) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SpllctrlSource
impl PartialEq for SpllctrlSource
Source§impl PartialOrd for SpllctrlSource
impl PartialOrd for SpllctrlSource
impl Copy for SpllctrlSource
impl Eq for SpllctrlSource
impl StructuralPartialEq for SpllctrlSource
Auto Trait Implementations§
impl Freeze for SpllctrlSource
impl RefUnwindSafe for SpllctrlSource
impl Send for SpllctrlSource
impl Sync for SpllctrlSource
impl Unpin for SpllctrlSource
impl UnwindSafe for SpllctrlSource
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