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