#[repr(u8)]pub enum PeriphClk2Sel {
PERIPH_CLK2_SEL_0 = 0,
PERIPH_CLK2_SEL_1 = 1,
PERIPH_CLK2_SEL_2 = 2,
_RESERVED_3 = 3,
}Variants§
PERIPH_CLK2_SEL_0 = 0
derive clock from pll3_sw_clk
PERIPH_CLK2_SEL_1 = 1
derive clock from osc_clk
PERIPH_CLK2_SEL_2 = 2
derive clock from pll2_bypass_clk
_RESERVED_3 = 3
Implementations§
Source§impl PeriphClk2Sel
impl PeriphClk2Sel
Trait Implementations§
Source§impl Clone for PeriphClk2Sel
impl Clone for PeriphClk2Sel
Source§fn clone(&self) -> PeriphClk2Sel
fn clone(&self) -> PeriphClk2Sel
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 PeriphClk2Sel
impl Debug for PeriphClk2Sel
Source§impl From<PeriphClk2Sel> for u8
impl From<PeriphClk2Sel> for u8
Source§fn from(val: PeriphClk2Sel) -> u8
fn from(val: PeriphClk2Sel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PeriphClk2Sel
impl From<u8> for PeriphClk2Sel
Source§fn from(val: u8) -> PeriphClk2Sel
fn from(val: u8) -> PeriphClk2Sel
Converts to this type from the input type.
Source§impl Ord for PeriphClk2Sel
impl Ord for PeriphClk2Sel
Source§fn cmp(&self, other: &PeriphClk2Sel) -> Ordering
fn cmp(&self, other: &PeriphClk2Sel) -> 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 PeriphClk2Sel
impl PartialEq for PeriphClk2Sel
Source§impl PartialOrd for PeriphClk2Sel
impl PartialOrd for PeriphClk2Sel
impl Copy for PeriphClk2Sel
impl Eq for PeriphClk2Sel
impl StructuralPartialEq for PeriphClk2Sel
Auto Trait Implementations§
impl Freeze for PeriphClk2Sel
impl RefUnwindSafe for PeriphClk2Sel
impl Send for PeriphClk2Sel
impl Sync for PeriphClk2Sel
impl Unpin for PeriphClk2Sel
impl UnwindSafe for PeriphClk2Sel
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