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