Enum stm32_metapac::adccommon::vals::Mdma
#[repr(u8)]pub enum Mdma {
NOPACK = 0,
_RESERVED_1 = 1,
FORMAT32TO10 = 2,
FORMAT8 = 3,
}
Variants§
NOPACK = 0
Without data packing, CDR/CDR2 not used
_RESERVED_1 = 1
FORMAT32TO10 = 2
CDR formatted for 32-bit down to 10-bit resolution
FORMAT8 = 3
CDR formatted for 8-bit resolution
Implementations§
Trait Implementations§
§impl Ord for Mdma
impl Ord for Mdma
§impl PartialOrd for Mdma
impl PartialOrd for Mdma
§fn partial_cmp(&self, other: &Mdma) -> Option<Ordering>
fn partial_cmp(&self, other: &Mdma) -> 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 Mdma
impl Eq for Mdma
impl StructuralEq for Mdma
impl StructuralPartialEq for Mdma
Auto Trait Implementations§
impl RefUnwindSafe for Mdma
impl Send for Mdma
impl Sync for Mdma
impl Unpin for Mdma
impl UnwindSafe for Mdma
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