Enum rp_pac::clocks::vals::ClkRtcCtrlAuxsrc
source · #[repr(u8)]pub enum ClkRtcCtrlAuxsrc {
CLKSRC_PLL_USB = 0,
CLKSRC_PLL_SYS = 1,
ROSC_CLKSRC_PH = 2,
XOSC_CLKSRC = 3,
CLKSRC_GPIN0 = 4,
CLKSRC_GPIN1 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
CLKSRC_PLL_USB = 0
CLKSRC_PLL_SYS = 1
ROSC_CLKSRC_PH = 2
XOSC_CLKSRC = 3
CLKSRC_GPIN0 = 4
CLKSRC_GPIN1 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
source§impl Clone for ClkRtcCtrlAuxsrc
impl Clone for ClkRtcCtrlAuxsrc
source§fn clone(&self) -> ClkRtcCtrlAuxsrc
fn clone(&self) -> ClkRtcCtrlAuxsrc
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<ClkRtcCtrlAuxsrc> for u8
impl From<ClkRtcCtrlAuxsrc> for u8
source§fn from(val: ClkRtcCtrlAuxsrc) -> u8
fn from(val: ClkRtcCtrlAuxsrc) -> u8
Converts to this type from the input type.
source§impl From<u8> for ClkRtcCtrlAuxsrc
impl From<u8> for ClkRtcCtrlAuxsrc
source§fn from(val: u8) -> ClkRtcCtrlAuxsrc
fn from(val: u8) -> ClkRtcCtrlAuxsrc
Converts to this type from the input type.
source§impl Ord for ClkRtcCtrlAuxsrc
impl Ord for ClkRtcCtrlAuxsrc
source§fn cmp(&self, other: &ClkRtcCtrlAuxsrc) -> Ordering
fn cmp(&self, other: &ClkRtcCtrlAuxsrc) -> 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 ClkRtcCtrlAuxsrc
impl PartialEq for ClkRtcCtrlAuxsrc
source§impl PartialOrd for ClkRtcCtrlAuxsrc
impl PartialOrd for ClkRtcCtrlAuxsrc
impl Copy for ClkRtcCtrlAuxsrc
impl Eq for ClkRtcCtrlAuxsrc
impl StructuralPartialEq for ClkRtcCtrlAuxsrc
Auto Trait Implementations§
impl Freeze for ClkRtcCtrlAuxsrc
impl RefUnwindSafe for ClkRtcCtrlAuxsrc
impl Send for ClkRtcCtrlAuxsrc
impl Sync for ClkRtcCtrlAuxsrc
impl Unpin for ClkRtcCtrlAuxsrc
impl UnwindSafe for ClkRtcCtrlAuxsrc
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
)