#[repr(u8)]pub enum USART1SW {
Pclk = 0,
Sysclk = 1,
Lse = 2,
Hsi = 3,
}
Expand description
USART1 clock source selection
Value on reset: 0
Variants§
Pclk = 0
0: PCLK selected as USART clock source
Sysclk = 1
1: SYSCLK selected as USART clock source
Lse = 2
2: LSE selected as USART clock source
Hsi = 3
3: HSI selected as USART clock source
Trait Implementations§
impl Copy for USART1SW
impl Eq for USART1SW
impl IsEnum 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