Enum stm32_metapac::rcc::vals::Usartsw
#[repr(u8)]pub enum Usartsw {
PCLK1 = 0,
SYS = 1,
LSE = 2,
HSI = 3,
}
Variants§
PCLK1 = 0
PCLK selected as USART clock source
SYS = 1
SYSCLK selected as USART clock source
LSE = 2
LSE selected as USART clock source
HSI = 3
HSI selected as USART clock source
Implementations§
Trait Implementations§
§impl Ord for Usartsw
impl Ord for Usartsw
§impl PartialOrd for Usartsw
impl PartialOrd for Usartsw
§fn partial_cmp(&self, other: &Usartsw) -> Option<Ordering>
fn partial_cmp(&self, other: &Usartsw) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Usartsw
impl Eq for Usartsw
impl StructuralEq for Usartsw
impl StructuralPartialEq for Usartsw
Auto Trait Implementations§
impl RefUnwindSafe for Usartsw
impl Send for Usartsw
impl Sync for Usartsw
impl Unpin for Usartsw
impl UnwindSafe for Usartsw
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more