Enum stm32wl::stm32wl5x_cm4::usart1::presc::PRESCALER_A
source · [−]#[repr(u8)]
pub enum PRESCALER_A {
Div1,
Div2,
Div4,
Div6,
Div8,
Div10,
Div12,
Div16,
Div32,
Div64,
Div128,
Div256,
}
Expand description
Clock prescaler
Value on reset: 0
Variants
Div1
0: /1
Div2
1: /2
Div4
2: /4
Div6
3: /6
Div8
4: /8
Div10
5: /10
Div12
6: /12
Div16
7: /16
Div32
8: /32
Div64
9: /64
Div128
10: /128
Div256
11: /256
Trait Implementations
sourceimpl Clone for PRESCALER_A
impl Clone for PRESCALER_A
sourcefn clone(&self) -> PRESCALER_A
fn clone(&self) -> PRESCALER_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PRESCALER_A
impl Debug for PRESCALER_A
sourceimpl From<PRESCALER_A> for u8
impl From<PRESCALER_A> for u8
sourcefn from(variant: PRESCALER_A) -> Self
fn from(variant: PRESCALER_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<PRESCALER_A> for PRESCALER_A
impl PartialEq<PRESCALER_A> for PRESCALER_A
impl Copy for PRESCALER_A
impl StructuralPartialEq for PRESCALER_A
Auto Trait Implementations
impl RefUnwindSafe for PRESCALER_A
impl Send for PRESCALER_A
impl Sync for PRESCALER_A
impl Unpin for PRESCALER_A
impl UnwindSafe for PRESCALER_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more