#[repr(u8)]pub enum ApllctrlSource {
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 ApllctrlSource
impl Clone for ApllctrlSource
Source§fn clone(&self) -> ApllctrlSource
fn clone(&self) -> ApllctrlSource
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 ApllctrlSource
impl Debug for ApllctrlSource
Source§impl From<ApllctrlSource> for u8
impl From<ApllctrlSource> for u8
Source§fn from(val: ApllctrlSource) -> u8
fn from(val: ApllctrlSource) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ApllctrlSource
impl From<u8> for ApllctrlSource
Source§fn from(val: u8) -> ApllctrlSource
fn from(val: u8) -> ApllctrlSource
Converts to this type from the input type.
Source§impl Ord for ApllctrlSource
impl Ord for ApllctrlSource
Source§fn cmp(&self, other: &ApllctrlSource) -> Ordering
fn cmp(&self, other: &ApllctrlSource) -> 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 ApllctrlSource
impl PartialEq for ApllctrlSource
Source§impl PartialOrd for ApllctrlSource
impl PartialOrd for ApllctrlSource
impl Copy for ApllctrlSource
impl Eq for ApllctrlSource
impl StructuralPartialEq for ApllctrlSource
Auto Trait Implementations§
impl Freeze for ApllctrlSource
impl RefUnwindSafe for ApllctrlSource
impl Send for ApllctrlSource
impl Sync for ApllctrlSource
impl Unpin for ApllctrlSource
impl UnwindSafe for ApllctrlSource
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