Enum stm32_metapac::rcc::vals::Usart1sw
#[repr(u8)]pub enum Usart1sw {
PCLK2 = 0,
SYS = 1,
LSE = 2,
HSI = 3,
}
Variants§
PCLK2 = 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 Usart1sw
impl Ord for Usart1sw
§impl PartialOrd for Usart1sw
impl PartialOrd for Usart1sw
§fn partial_cmp(&self, other: &Usart1sw) -> Option<Ordering>
fn partial_cmp(&self, other: &Usart1sw) -> 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 Usart1sw
impl Eq for Usart1sw
impl StructuralEq for Usart1sw
impl StructuralPartialEq for Usart1sw
Auto Trait Implementations§
impl RefUnwindSafe for Usart1sw
impl Send for Usart1sw
impl Sync for Usart1sw
impl Unpin for Usart1sw
impl UnwindSafe for Usart1sw
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