#[repr(u8)]
pub enum LPUART1SEL_A {
Pclk,
Sysclk,
Hsi16,
Lse,
}
Expand description
LPUART1 clock source selection
Value on reset: 0
Variants
Pclk
0: PCLK clock selected
Sysclk
1: SYSCLK clock selected
Hsi16
2: HSI16 clock selected
Lse
3: LSE clock selected
Trait Implementations
sourceimpl Clone for LPUART1SEL_A
impl Clone for LPUART1SEL_A
sourcefn clone(&self) -> LPUART1SEL_A
fn clone(&self) -> LPUART1SEL_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LPUART1SEL_A
impl Debug for LPUART1SEL_A
sourceimpl From<LPUART1SEL_A> for u8
impl From<LPUART1SEL_A> for u8
sourcefn from(variant: LPUART1SEL_A) -> Self
fn from(variant: LPUART1SEL_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<LPUART1SEL_A> for LPUART1SEL_A
impl PartialEq<LPUART1SEL_A> for LPUART1SEL_A
impl Copy for LPUART1SEL_A
impl StructuralPartialEq for LPUART1SEL_A
Auto Trait Implementations
impl RefUnwindSafe for LPUART1SEL_A
impl Send for LPUART1SEL_A
impl Sync for LPUART1SEL_A
impl Unpin for LPUART1SEL_A
impl UnwindSafe for LPUART1SEL_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more