Enum stm32_metapac::adccommon::vals::Mdma
#[repr(u8)]pub enum Mdma {
DISABLED = 0,
_RESERVED_1 = 1,
BITS12_10 = 2,
BITS8_6 = 3,
}
Expand description
Direct memory access mode for multi ADC mode
Variants§
DISABLED = 0
MDMA mode disabled
_RESERVED_1 = 1
BITS12_10 = 2
MDMA mode enabled for 12 and 10-bit resolution
BITS8_6 = 3
MDMA mode enabled for 8 and 6-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