Enum stm32_metapac::adccommon::vals::Multi
#[repr(u8)]pub enum Multi {
Show 32 variants
INDEPENDENT = 0,
DUALRJ = 1,
DUALRA = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
DUALJ = 5,
DUALR = 6,
DUALI = 7,
_RESERVED_8 = 8,
DUALA = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
_RESERVED_10 = 16,
TRIPLERJ = 17,
TRIPLERA = 18,
_RESERVED_13 = 19,
_RESERVED_14 = 20,
TRIPLEJ = 21,
TRIPLER = 22,
TRIPLEI = 23,
TRIPLEA = 24,
_RESERVED_19 = 25,
_RESERVED_1a = 26,
_RESERVED_1b = 27,
_RESERVED_1c = 28,
_RESERVED_1d = 29,
_RESERVED_1e = 30,
_RESERVED_1f = 31,
}
Variants§
INDEPENDENT = 0
All the ADCs independent: independent mode
DUALRJ = 1
Dual ADC1 and ADC2, combined regular and injected simultaneous mode
DUALRA = 2
Dual ADC1 and ADC2, combined regular and alternate trigger mode
_RESERVED_3 = 3
_RESERVED_4 = 4
DUALJ = 5
Dual ADC1 and ADC2, injected simultaneous mode only
DUALR = 6
Dual ADC1 and ADC2, regular simultaneous mode only
DUALI = 7
Dual ADC1 and ADC2, interleaved mode only
_RESERVED_8 = 8
DUALA = 9
Dual ADC1 and ADC2, alternate trigger mode only
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
_RESERVED_10 = 16
TRIPLERJ = 17
Triple ADC, regular and injected simultaneous mode
TRIPLERA = 18
Triple ADC, regular and alternate trigger mode
_RESERVED_13 = 19
_RESERVED_14 = 20
TRIPLEJ = 21
Triple ADC, injected simultaneous mode only
TRIPLER = 22
Triple ADC, regular simultaneous mode only
TRIPLEI = 23
Triple ADC, interleaved mode only
TRIPLEA = 24
Triple ADC, alternate trigger mode only
_RESERVED_19 = 25
_RESERVED_1a = 26
_RESERVED_1b = 27
_RESERVED_1c = 28
_RESERVED_1d = 29
_RESERVED_1e = 30
_RESERVED_1f = 31
Implementations§
Trait Implementations§
§impl Ord for Multi
impl Ord for Multi
§impl PartialOrd for Multi
impl PartialOrd for Multi
§fn partial_cmp(&self, other: &Multi) -> Option<Ordering>
fn partial_cmp(&self, other: &Multi) -> 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 Multi
impl Eq for Multi
impl StructuralEq for Multi
impl StructuralPartialEq for Multi
Auto Trait Implementations§
impl RefUnwindSafe for Multi
impl Send for Multi
impl Sync for Multi
impl Unpin for Multi
impl UnwindSafe for Multi
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