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