Enum stm32l0xx_hal::pac::rcc::ccipr::USART1SEL_A
source · [−]#[repr(u8)]
pub enum USART1SEL_A {
Apb,
System,
Hsi16,
Lse,
}
Expand description
USART1 clock source selection bits
Value on reset: 0
Variants
Apb
0: APB clock selected as peripheral clock
System
1: System clock selected as peripheral clock
Hsi16
2: HSI16 clock selected as peripheral clock
Lse
3: LSE clock selected as peripheral clock
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 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