Enum stm32_metapac::adccommon::vals::Ckmode
#[repr(u8)]pub enum Ckmode {
ASYNCHRONOUS = 0,
SYNCDIV1 = 1,
SYNCDIV2 = 2,
SYNCDIV4 = 3,
}
Expand description
ADC clock mode
Variants§
ASYNCHRONOUS = 0
Use Kernel Clock adc_ker_ck_input divided by PRESC. Asynchronous mode
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.
Implementations§
Trait Implementations§
§impl Ord for Ckmode
impl Ord for Ckmode
§impl PartialOrd for Ckmode
impl PartialOrd for Ckmode
impl Copy for Ckmode
impl Eq for Ckmode
impl StructuralPartialEq for Ckmode
Auto Trait Implementations§
impl Freeze for Ckmode
impl RefUnwindSafe for Ckmode
impl Send for Ckmode
impl Sync for Ckmode
impl Unpin for Ckmode
impl UnwindSafe for Ckmode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)