Enum alt_stm32f30x_hal::pac::rcc::cfgr3::USART1SW_A
source · [−]#[repr(u8)]
pub enum USART1SW_A {
PCLK,
SYSCLK,
LSE,
HSI,
}
Expand description
USART1 clock source selection
Value on reset: 0
Variants
PCLK
0: PCLK selected as USART clock source
SYSCLK
1: SYSCLK selected as USART clock source
LSE
2: LSE selected as USART clock source
HSI
3: HSI selected as USART clock source
Trait Implementations
sourceimpl Clone for USART1SW_A
impl Clone for USART1SW_A
sourcefn clone(&self) -> USART1SW_A
fn clone(&self) -> USART1SW_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 USART1SW_A
impl Debug for USART1SW_A
sourceimpl PartialEq<USART1SW_A> for USART1SW_A
impl PartialEq<USART1SW_A> for USART1SW_A
impl Copy for USART1SW_A
impl StructuralPartialEq for USART1SW_A
Auto Trait Implementations
impl RefUnwindSafe for USART1SW_A
impl Send for USART1SW_A
impl Sync for USART1SW_A
impl Unpin for USART1SW_A
impl UnwindSafe for USART1SW_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