Enum gd32f1x0_hal::pac::rcu::cfg2::USART0SEL_A
source · [−]#[repr(u8)]
pub enum USART0SEL_A {
APB2,
SYS,
LXTAL,
IRC8M,
}
Expand description
CK_USART0 clock source selection
Value on reset: 0
Variants
APB2
0: APB2 selected as USART0 clock source
SYS
1: SYS selected as USART0 clock source
LXTAL
2: LXTAL selected as USART0 clock source
IRC8M
3: IRC8M selected as USART0 clock source
Trait Implementations
sourceimpl Clone for USART0SEL_A
impl Clone for USART0SEL_A
sourcefn clone(&self) -> USART0SEL_A
fn clone(&self) -> USART0SEL_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 USART0SEL_A
impl Debug for USART0SEL_A
sourceimpl PartialEq<USART0SEL_A> for USART0SEL_A
impl PartialEq<USART0SEL_A> for USART0SEL_A
impl Copy for USART0SEL_A
impl StructuralPartialEq for USART0SEL_A
Auto Trait Implementations
impl RefUnwindSafe for USART0SEL_A
impl Send for USART0SEL_A
impl Sync for USART0SEL_A
impl Unpin for USART0SEL_A
impl UnwindSafe for USART0SEL_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