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
impl Copy for Usartsw
impl Eq for Usartsw
impl StructuralPartialEq for Usartsw
Auto Trait Implementations§
impl Freeze for Usartsw
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
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
)