Enum stm32wlxx_hal::pac::rcc::ccipr::USART1SEL_A
#[repr(u8)]pub enum USART1SEL_A {
Pclk = 0,
Sysclk = 1,
Hsi16 = 2,
Lse = 3,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
USART1 clock source selection
Value on reset: 0
Variants§
Pclk = 0
0: PCLK clock selected
Sysclk = 1
1: SYSCLK clock selected
Hsi16 = 2
2: HSI16 clock selected
Lse = 3
3: LSE clock selected
Trait Implementations§
§impl Clone for USART1SEL_A
impl Clone for USART1SEL_A
§fn clone(&self) -> USART1SEL_A
fn clone(&self) -> USART1SEL_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for USART1SEL_A
impl Debug for USART1SEL_A
§impl PartialEq for USART1SEL_A
impl PartialEq for USART1SEL_A
§fn eq(&self, other: &USART1SEL_A) -> bool
fn eq(&self, other: &USART1SEL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for USART1SEL_A
impl StructuralPartialEq for USART1SEL_A
Auto Trait Implementations§
impl RefUnwindSafe for USART1SEL_A
impl Send for USART1SEL_A
impl Sync for USART1SEL_A
impl Unpin for USART1SEL_A
impl UnwindSafe for USART1SEL_A
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