#[repr(u8)]
pub enum USART1SEL_A {
Pclk,
Sysclk,
Hsi16,
Lse,
}
Expand description
USART1 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 USART1SEL_A
impl Clone for USART1SEL_A
sourcefn clone(&self) -> USART1SEL_A
fn clone(&self) -> USART1SEL_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 USART1SEL_A
impl Debug for USART1SEL_A
sourceimpl From<USART1SEL_A> for u8
impl From<USART1SEL_A> for u8
sourcefn from(variant: USART1SEL_A) -> Self
fn from(variant: USART1SEL_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<USART1SEL_A> for USART1SEL_A
impl PartialEq<USART1SEL_A> for USART1SEL_A
impl Copy for USART1SEL_A
impl StructuralPartialEq for USART1SEL_A
Auto Trait Implementations
impl RefUnwindSafe for USART1SEL_A
impl Send for USART1SEL_A
impl Sync for USART1SEL_A
impl Unpin for USART1SEL_A
impl UnwindSafe for USART1SEL_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