#[repr(u8)]pub enum PeriphClkSel {
PERIPH_CLK_SEL_0 = 0,
PERIPH_CLK_SEL_1 = 1,
}Variants§
PERIPH_CLK_SEL_0 = 0
derive clock selected by CCM_CBCMR[CORE_CLK_PRE_SEL]
PERIPH_CLK_SEL_1 = 1
derive clock selected by CCM_CBCMR[PERIPH_CLK2_SEL]
Implementations§
Source§impl PeriphClkSel
impl PeriphClkSel
Trait Implementations§
Source§impl Clone for PeriphClkSel
impl Clone for PeriphClkSel
Source§fn clone(&self) -> PeriphClkSel
fn clone(&self) -> PeriphClkSel
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 PeriphClkSel
impl Debug for PeriphClkSel
Source§impl From<PeriphClkSel> for u8
impl From<PeriphClkSel> for u8
Source§fn from(val: PeriphClkSel) -> u8
fn from(val: PeriphClkSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PeriphClkSel
impl From<u8> for PeriphClkSel
Source§fn from(val: u8) -> PeriphClkSel
fn from(val: u8) -> PeriphClkSel
Converts to this type from the input type.
Source§impl Ord for PeriphClkSel
impl Ord for PeriphClkSel
Source§fn cmp(&self, other: &PeriphClkSel) -> Ordering
fn cmp(&self, other: &PeriphClkSel) -> 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 PeriphClkSel
impl PartialEq for PeriphClkSel
Source§impl PartialOrd for PeriphClkSel
impl PartialOrd for PeriphClkSel
impl Copy for PeriphClkSel
impl Eq for PeriphClkSel
impl StructuralPartialEq for PeriphClkSel
Auto Trait Implementations§
impl Freeze for PeriphClkSel
impl RefUnwindSafe for PeriphClkSel
impl Send for PeriphClkSel
impl Sync for PeriphClkSel
impl Unpin for PeriphClkSel
impl UnwindSafe for PeriphClkSel
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