#[repr(u8)]pub enum MainclkselbSel {
MAIN_1ST_CLK = 0,
SFRO_CLK = 1,
MAIN_PLL_CLK = 2,
RTC_32K_CLK = 3,
}Variants§
MAIN_1ST_CLK = 0
MAINCLKSELA 1st Stage Clock.
SFRO_CLK = 1
SFRO Clock.
MAIN_PLL_CLK = 2
Main System PLL Clock.
RTC_32K_CLK = 3
RTC 32KHz Clock.
Implementations§
Trait Implementations§
Source§impl Clone for MainclkselbSel
impl Clone for MainclkselbSel
Source§fn clone(&self) -> MainclkselbSel
fn clone(&self) -> MainclkselbSel
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 MainclkselbSel
impl Debug for MainclkselbSel
Source§impl From<MainclkselbSel> for u8
impl From<MainclkselbSel> for u8
Source§fn from(val: MainclkselbSel) -> u8
fn from(val: MainclkselbSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for MainclkselbSel
impl From<u8> for MainclkselbSel
Source§fn from(val: u8) -> MainclkselbSel
fn from(val: u8) -> MainclkselbSel
Converts to this type from the input type.
Source§impl Ord for MainclkselbSel
impl Ord for MainclkselbSel
Source§fn cmp(&self, other: &MainclkselbSel) -> Ordering
fn cmp(&self, other: &MainclkselbSel) -> 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 MainclkselbSel
impl PartialEq for MainclkselbSel
Source§impl PartialOrd for MainclkselbSel
impl PartialOrd for MainclkselbSel
impl Copy for MainclkselbSel
impl Eq for MainclkselbSel
impl StructuralPartialEq for MainclkselbSel
Auto Trait Implementations§
impl Freeze for MainclkselbSel
impl RefUnwindSafe for MainclkselbSel
impl Send for MainclkselbSel
impl Sync for MainclkselbSel
impl Unpin for MainclkselbSel
impl UnwindSafe for MainclkselbSel
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