Enum Lptim23sel
#[repr(u8)]pub enum Lptim23sel {
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 Lptim23sel
impl Lptim23sel
pub const fn from_bits(val: u8) -> Lptim23sel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Lptim23sel
impl Clone for Lptim23sel
§fn clone(&self) -> Lptim23sel
fn clone(&self) -> Lptim23sel
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 Lptim23sel
§impl Debug for Lptim23sel
impl Debug for Lptim23sel
impl Eq for Lptim23sel
§impl From<Lptim23sel> for u8
impl From<Lptim23sel> for u8
§fn from(val: Lptim23sel) -> u8
fn from(val: Lptim23sel) -> u8
Converts to this type from the input type.
§impl From<u8> for Lptim23sel
impl From<u8> for Lptim23sel
§fn from(val: u8) -> Lptim23sel
fn from(val: u8) -> Lptim23sel
Converts to this type from the input type.
§impl Ord for Lptim23sel
impl Ord for Lptim23sel
§fn cmp(&self, other: &Lptim23sel) -> Ordering
fn cmp(&self, other: &Lptim23sel) -> 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 Lptim23sel
impl PartialEq for Lptim23sel
§impl PartialOrd for Lptim23sel
impl PartialOrd for Lptim23sel
impl StructuralPartialEq for Lptim23sel
Auto Trait Implementations§
impl Freeze for Lptim23sel
impl RefUnwindSafe for Lptim23sel
impl Send for Lptim23sel
impl Sync for Lptim23sel
impl Unpin for Lptim23sel
impl UnsafeUnpin for Lptim23sel
impl UnwindSafe for Lptim23sel
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