Enum alt_stm32f30x_hal::pac::rcc::cfgr2::ADC12PRES_A
source · [−]#[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 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