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
impl Copy for Usart1sw
impl Eq for Usart1sw
impl StructuralPartialEq for Usart1sw
Auto Trait Implementations§
impl Freeze for Usart1sw
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)