#[repr(u8)]
pub enum CKMODE_A {
Asynchronous,
SyncDiv1,
SyncDiv2,
SyncDiv4,
}
Expand description
ADC clock mode
Value on reset: 0
Variants
Asynchronous
0: Use Kernel Clock adc_ker_ck_input divided by PRESC. Asynchronous to AHB clock
SyncDiv1
1: Use AHB clock rcc_hclk3. In this case rcc_hclk must equal sys_d1cpre_ck
SyncDiv2
2: Use AHB clock rcc_hclk3 divided by 2
SyncDiv4
3: Use AHB clock rcc_hclk3 divided by 4
Trait Implementations
impl Copy for CKMODE_A
impl StructuralPartialEq for CKMODE_A
Auto Trait Implementations
impl RefUnwindSafe for CKMODE_A
impl Send for CKMODE_A
impl Sync for CKMODE_A
impl Unpin for CKMODE_A
impl UnwindSafe for CKMODE_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