Enum stm32_metapac::adc::vals::Ckmode
#[repr(u8)]pub enum Ckmode {
ADCCLK = 0,
PCLK_DIV2 = 1,
PCLK_DIV4 = 2,
_RESERVED_3 = 3,
}
Variants§
ADCCLK = 0
Asynchronous clock mode
PCLK_DIV2 = 1
Synchronous clock mode (PCLK/2)
PCLK_DIV4 = 2
Sychronous clock mode (PCLK/4)
_RESERVED_3 = 3
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