Enum Lptim2345sel
#[repr(u8)]pub enum Lptim2345sel {
Pclk4 = 0,
Per = 1,
Ic15 = 2,
Lse = 3,
Lsi = 4,
Timg = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
Pclk4 = 0
pclk1 selected as reference clock.
Per = 1
per_ck selected as reference clock.
Ic15 = 2
ic15_ck selected as reference clock.
Lse = 3
lse_ck selected as reference clock.
Lsi = 4
lsi_ck selected as reference clock.
Timg = 5
timg_ck selected as reference clock.
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
§impl Lptim2345sel
impl Lptim2345sel
pub const fn from_bits(val: u8) -> Lptim2345sel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Lptim2345sel
impl Clone for Lptim2345sel
§fn clone(&self) -> Lptim2345sel
fn clone(&self) -> Lptim2345sel
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 more§impl Debug for Lptim2345sel
impl Debug for Lptim2345sel
§impl Format for Lptim2345sel
impl Format for Lptim2345sel
§impl From<u8> for Lptim2345sel
impl From<u8> for Lptim2345sel
§fn from(val: u8) -> Lptim2345sel
fn from(val: u8) -> Lptim2345sel
Converts to this type from the input type.
§impl Ord for Lptim2345sel
impl Ord for Lptim2345sel
§impl PartialEq for Lptim2345sel
impl PartialEq for Lptim2345sel
§impl PartialOrd for Lptim2345sel
impl PartialOrd for Lptim2345sel
impl Copy for Lptim2345sel
impl Eq for Lptim2345sel
impl StructuralPartialEq for Lptim2345sel
Auto Trait Implementations§
impl Freeze for Lptim2345sel
impl RefUnwindSafe for Lptim2345sel
impl Send for Lptim2345sel
impl Sync for Lptim2345sel
impl Unpin for Lptim2345sel
impl UnwindSafe for Lptim2345sel
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