Enum Ethptpclksel
#[repr(u8)]pub enum Ethptpclksel {
Hclk1 = 0,
Pll1R = 1,
Pll1Q = 2,
Pll3P = 3,
}Variants§
Hclk1 = 0
rcc_hclk1 selected as kernel clock (default after reset).
Pll1R = 1
pll1_r_ck selected as kernel clock.
Pll1Q = 2
pll1_q_ck selected as kernel clock.
Pll3P = 3
pll3_p_ckselected as kernel clock.
Implementations§
§impl Ethptpclksel
impl Ethptpclksel
pub const fn from_bits(val: u8) -> Ethptpclksel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Ethptpclksel
impl Clone for Ethptpclksel
§fn clone(&self) -> Ethptpclksel
fn clone(&self) -> Ethptpclksel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Ethptpclksel
§impl Debug for Ethptpclksel
impl Debug for Ethptpclksel
impl Eq for Ethptpclksel
§impl From<Ethptpclksel> for u8
impl From<Ethptpclksel> for u8
§fn from(val: Ethptpclksel) -> u8
fn from(val: Ethptpclksel) -> u8
Converts to this type from the input type.
§impl From<u8> for Ethptpclksel
impl From<u8> for Ethptpclksel
§fn from(val: u8) -> Ethptpclksel
fn from(val: u8) -> Ethptpclksel
Converts to this type from the input type.
§impl Ord for Ethptpclksel
impl Ord for Ethptpclksel
§fn cmp(&self, other: &Ethptpclksel) -> Ordering
fn cmp(&self, other: &Ethptpclksel) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for Ethptpclksel
impl PartialEq for Ethptpclksel
§impl PartialOrd for Ethptpclksel
impl PartialOrd for Ethptpclksel
impl StructuralPartialEq for Ethptpclksel
Auto Trait Implementations§
impl Freeze for Ethptpclksel
impl RefUnwindSafe for Ethptpclksel
impl Send for Ethptpclksel
impl Sync for Ethptpclksel
impl Unpin for Ethptpclksel
impl UnsafeUnpin for Ethptpclksel
impl UnwindSafe for Ethptpclksel
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