#[repr(u8)]
pub enum ADC12PRES_A {
Show 13 variants
NoClock,
Div1,
Div2,
Div4,
Div6,
Div8,
Div10,
Div12,
Div16,
Div32,
Div64,
Div128,
Div256,
}
Expand description
ADC1 and ADC2 prescaler
Value on reset: 0
Variants
NoClock
0: No clock
Div1
16: PLL clock not divided
Div2
17: PLL clock divided by 2
Div4
18: PLL clock divided by 4
Div6
19: PLL clock divided by 6
Div8
20: PLL clock divided by 8
Div10
21: PLL clock divided by 10
Div12
22: PLL clock divided by 12
Div16
23: PLL clock divided by 16
Div32
24: PLL clock divided by 32
Div64
25: PLL clock divided by 64
Div128
26: PLL clock divided by 128
Div256
27: PLL clock divided by 256
Trait Implementations
sourceimpl Clone for ADC12PRES_A
impl Clone for ADC12PRES_A
sourcefn clone(&self) -> ADC12PRES_A
fn clone(&self) -> ADC12PRES_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 ADC12PRES_A
impl Debug for ADC12PRES_A
sourceimpl From<ADC12PRES_A> for u8
impl From<ADC12PRES_A> for u8
sourcefn from(variant: ADC12PRES_A) -> Self
fn from(variant: ADC12PRES_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ADC12PRES_A> for ADC12PRES_A
impl PartialEq<ADC12PRES_A> for ADC12PRES_A
impl Copy for ADC12PRES_A
impl StructuralPartialEq for ADC12PRES_A
Auto Trait Implementations
impl RefUnwindSafe for ADC12PRES_A
impl Send for ADC12PRES_A
impl Sync for ADC12PRES_A
impl Unpin for ADC12PRES_A
impl UnwindSafe for ADC12PRES_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