Enum Lpusartsel
#[repr(u8)]pub enum Lpusartsel {
PCLK3 = 0,
PLL2_Q = 1,
PLL3_Q = 2,
HSI = 3,
CSI = 4,
LSE = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
PCLK3 = 0
rcc_pclk3 selected as kernel clock (default after reset)
PLL2_Q = 1
pll2_q_ck selected as kernel clock
PLL3_Q = 2
pll3_q_ck selected as kernel clock
HSI = 3
hsi_ker_ck selected as kernel clock
CSI = 4
csi_ker_ck selected as kernel clock
LSE = 5
lse_ck selected as kernel clock
_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