Enum Lpusartsel
#[repr(u8)]pub enum Lpusartsel {
Pclk3 = 0,
Sys = 1,
Hsi = 2,
Lse = 3,
Msik = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
Pclk3 = 0
PCLK3 selected
Sys = 1
SYSCLK selected
Hsi = 2
HSI selected
Lse = 3
LSE selected
Msik = 4
MSIK selected
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
§impl Lpusartsel
impl Lpusartsel
pub const fn from_bits(val: u8) -> Lpusartsel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Lpusartsel
impl Clone for Lpusartsel
§fn clone(&self) -> Lpusartsel
fn clone(&self) -> Lpusartsel
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 Lpusartsel
§impl Debug for Lpusartsel
impl Debug for Lpusartsel
impl Eq for Lpusartsel
§impl Format for Lpusartsel
impl Format for Lpusartsel
§impl From<u8> for Lpusartsel
impl From<u8> for Lpusartsel
§fn from(val: u8) -> Lpusartsel
fn from(val: u8) -> Lpusartsel
Converts to this type from the input type.
§impl Ord for Lpusartsel
impl Ord for Lpusartsel
§fn cmp(&self, other: &Lpusartsel) -> Ordering
fn cmp(&self, other: &Lpusartsel) -> 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 Lpusartsel
impl PartialEq for Lpusartsel
§impl PartialOrd for Lpusartsel
impl PartialOrd for Lpusartsel
impl StructuralPartialEq for Lpusartsel
Auto Trait Implementations§
impl Freeze for Lpusartsel
impl RefUnwindSafe for Lpusartsel
impl Send for Lpusartsel
impl Sync for Lpusartsel
impl Unpin for Lpusartsel
impl UnsafeUnpin for Lpusartsel
impl UnwindSafe for Lpusartsel
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