Enum Lptim45sel
#[repr(u8)]pub enum Lptim45sel {
Pclk4 = 0,
Pll2P = 1,
Pll3R = 2,
Lse = 3,
Lsi = 4,
Per = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
Pclk4 = 0
pclk4 selected as kernel peripheral clock (default after reset).
Pll2P = 1
pll2_p_ck selected as kernel peripheral clock.
Pll3R = 2
pll3_r_ck selected as kernel peripheral clock.
Lse = 3
lse_ck selected as kernel peripheral clock.
Lsi = 4
lsi_ck selected as kernel peripheral clock.
Per = 5
per_ck selected as kernel peripheral clock.
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
§impl Lptim45sel
impl Lptim45sel
pub const fn from_bits(val: u8) -> Lptim45sel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Lptim45sel
impl Clone for Lptim45sel
§fn clone(&self) -> Lptim45sel
fn clone(&self) -> Lptim45sel
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 Lptim45sel
§impl Debug for Lptim45sel
impl Debug for Lptim45sel
impl Eq for Lptim45sel
§impl From<Lptim45sel> for u8
impl From<Lptim45sel> for u8
§fn from(val: Lptim45sel) -> u8
fn from(val: Lptim45sel) -> u8
Converts to this type from the input type.
§impl From<u8> for Lptim45sel
impl From<u8> for Lptim45sel
§fn from(val: u8) -> Lptim45sel
fn from(val: u8) -> Lptim45sel
Converts to this type from the input type.
§impl Ord for Lptim45sel
impl Ord for Lptim45sel
§fn cmp(&self, other: &Lptim45sel) -> Ordering
fn cmp(&self, other: &Lptim45sel) -> 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 Lptim45sel
impl PartialEq for Lptim45sel
§impl PartialOrd for Lptim45sel
impl PartialOrd for Lptim45sel
impl StructuralPartialEq for Lptim45sel
Auto Trait Implementations§
impl Freeze for Lptim45sel
impl RefUnwindSafe for Lptim45sel
impl Send for Lptim45sel
impl Sync for Lptim45sel
impl Unpin for Lptim45sel
impl UnsafeUnpin for Lptim45sel
impl UnwindSafe for Lptim45sel
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