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
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
)