Enum rp_pac::clocks::vals::ClkSysCtrlAuxsrc
source · #[repr(u8)]pub enum ClkSysCtrlAuxsrc {
CLKSRC_PLL_SYS = 0,
CLKSRC_PLL_USB = 1,
ROSC_CLKSRC = 2,
XOSC_CLKSRC = 3,
CLKSRC_GPIN0 = 4,
CLKSRC_GPIN1 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
CLKSRC_PLL_SYS = 0
CLKSRC_PLL_USB = 1
ROSC_CLKSRC = 2
XOSC_CLKSRC = 3
CLKSRC_GPIN0 = 4
CLKSRC_GPIN1 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
source§impl Clone for ClkSysCtrlAuxsrc
impl Clone for ClkSysCtrlAuxsrc
source§fn clone(&self) -> ClkSysCtrlAuxsrc
fn clone(&self) -> ClkSysCtrlAuxsrc
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 From<ClkSysCtrlAuxsrc> for u8
impl From<ClkSysCtrlAuxsrc> for u8
source§fn from(val: ClkSysCtrlAuxsrc) -> u8
fn from(val: ClkSysCtrlAuxsrc) -> u8
Converts to this type from the input type.
source§impl From<u8> for ClkSysCtrlAuxsrc
impl From<u8> for ClkSysCtrlAuxsrc
source§fn from(val: u8) -> ClkSysCtrlAuxsrc
fn from(val: u8) -> ClkSysCtrlAuxsrc
Converts to this type from the input type.
source§impl Ord for ClkSysCtrlAuxsrc
impl Ord for ClkSysCtrlAuxsrc
source§fn cmp(&self, other: &ClkSysCtrlAuxsrc) -> Ordering
fn cmp(&self, other: &ClkSysCtrlAuxsrc) -> 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 ClkSysCtrlAuxsrc
impl PartialEq for ClkSysCtrlAuxsrc
source§impl PartialOrd for ClkSysCtrlAuxsrc
impl PartialOrd for ClkSysCtrlAuxsrc
impl Copy for ClkSysCtrlAuxsrc
impl Eq for ClkSysCtrlAuxsrc
impl StructuralPartialEq for ClkSysCtrlAuxsrc
Auto Trait Implementations§
impl Freeze for ClkSysCtrlAuxsrc
impl RefUnwindSafe for ClkSysCtrlAuxsrc
impl Send for ClkSysCtrlAuxsrc
impl Sync for ClkSysCtrlAuxsrc
impl Unpin for ClkSysCtrlAuxsrc
impl UnwindSafe for ClkSysCtrlAuxsrc
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)