Enum stm32_metapac::rcc::vals::Uartsel
#[repr(u8)]pub enum Uartsel {
PCLK1 = 0,
SYS = 1,
HSI = 2,
LSE = 3,
}
Variants§
PCLK1 = 0
APB clock selected as peripheral clock
SYS = 1
System clock selected as peripheral clock
HSI = 2
HSI clock selected as peripheral clock
LSE = 3
LSE clock selected as peripheral clock
Implementations§
Trait Implementations§
§impl Ord for Uartsel
impl Ord for Uartsel
§impl PartialOrd for Uartsel
impl PartialOrd for Uartsel
impl Copy for Uartsel
impl Eq for Uartsel
impl StructuralPartialEq for Uartsel
Auto Trait Implementations§
impl Freeze for Uartsel
impl RefUnwindSafe for Uartsel
impl Send for Uartsel
impl Sync for Uartsel
impl Unpin for Uartsel
impl UnwindSafe for Uartsel
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
)