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 copy 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 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
§impl PartialEq for Lpusartsel
impl PartialEq for Lpusartsel
§impl PartialOrd for Lpusartsel
impl PartialOrd for Lpusartsel
impl Copy for Lpusartsel
impl Eq 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 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