Enum stm32_metapac::adccommon::vals::Ckmode
#[repr(u8)]pub enum Ckmode {
ASYNCHRONOUS = 0,
SYNCDIV1 = 1,
SYNCDIV2 = 2,
SYNCDIV4 = 3,
}
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
Implementations§
Trait Implementations§
§impl Ord for Ckmode
impl Ord for Ckmode
§impl PartialOrd for Ckmode
impl PartialOrd for Ckmode
§fn partial_cmp(&self, other: &Ckmode) -> Option<Ordering>
fn partial_cmp(&self, other: &Ckmode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Ckmode
impl Eq for Ckmode
impl StructuralEq for Ckmode
impl StructuralPartialEq for Ckmode
Auto Trait Implementations§
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