Enum stm32_metapac::adc::vals::Dualmod
#[repr(u8)]pub enum Dualmod {
Show 16 variants
INDEPENDENT = 0,
REGULARINJECTED = 1,
REGULARALTERNATETRIGGER = 2,
INJECTEDFASTINTERLEAVED = 3,
INJECTEDSLOWINTERLEAVED = 4,
INJECTED = 5,
REGULAR = 6,
FASTINTERLEAVED = 7,
SLOWINTERLEAVED = 8,
ALTERNATETRIGGER = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}
Variants§
INDEPENDENT = 0
Independent mode.
REGULARINJECTED = 1
Combined regular simultaneous + injected simultaneous mode
REGULARALTERNATETRIGGER = 2
Combined regular simultaneous + alternate trigger mode
INJECTEDFASTINTERLEAVED = 3
Combined injected simultaneous + fast interleaved mode
INJECTEDSLOWINTERLEAVED = 4
Combined injected simultaneous + slow Interleaved mode
INJECTED = 5
Injected simultaneous mode only
REGULAR = 6
Regular simultaneous mode only
FASTINTERLEAVED = 7
Fast interleaved mode only
SLOWINTERLEAVED = 8
Slow interleaved mode only
ALTERNATETRIGGER = 9
Alternate trigger mode only
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
§impl Ord for Dualmod
impl Ord for Dualmod
§impl PartialOrd for Dualmod
impl PartialOrd for Dualmod
§fn partial_cmp(&self, other: &Dualmod) -> Option<Ordering>
fn partial_cmp(&self, other: &Dualmod) -> 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 Dualmod
impl Eq for Dualmod
impl StructuralPartialEq for Dualmod
Auto Trait Implementations§
impl Freeze for Dualmod
impl RefUnwindSafe for Dualmod
impl Send for Dualmod
impl Sync for Dualmod
impl Unpin for Dualmod
impl UnwindSafe for Dualmod
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