#[repr(u8)]pub enum UART4SEL {
Pclk = 0,
System = 1,
Hsi16 = 2,
Lse = 3,
}
Expand description
UART4 clock source selection This bit is set and cleared by software to select the UART4 clock source.
Value on reset: 0
Variants§
Pclk = 0
0: PCLK clock selected as UART clock
System = 1
1: System clock (SYSCLK) selected as UART clock
Hsi16 = 2
2: HSI16 clock selected as UART clock
Lse = 3
3: LSE clock selected as UART clock
Trait Implementations§
impl Copy for UART4SEL
impl Eq for UART4SEL
impl IsEnum for UART4SEL
impl StructuralPartialEq for UART4SEL
Auto Trait Implementations§
impl Freeze for UART4SEL
impl RefUnwindSafe for UART4SEL
impl Send for UART4SEL
impl Sync for UART4SEL
impl Unpin for UART4SEL
impl UnwindSafe for UART4SEL
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