Enum stm32_metapac::adc::vals::Discnum
#[repr(u8)]pub enum Discnum {
DISCNUM_1 = 0,
DISCNUM_2 = 1,
DISCNUM_3 = 2,
DISCNUM_4 = 3,
DISCNUM_5 = 4,
DISCNUM_6 = 5,
DISCNUM_7 = 6,
DISCNUM_8 = 7,
}
Variants§
DISCNUM_1 = 0
1 conversions are discontinued and the conversion is carried out on one channel
DISCNUM_2 = 1
2 conversion is discontinued and the conversions are carried out on 2 channels
DISCNUM_3 = 2
3 conversions are discontinued and the conversions are carried out on 3 channels
DISCNUM_4 = 3
4 conversions are discontinued and the conversions are carried out on 4 channels
DISCNUM_5 = 4
5 conversions are discontinued and the conversions are carried out on 5 channels
DISCNUM_6 = 5
6 conversions are discontinued and the conversions are carried out on 6 channels
DISCNUM_7 = 6
7 conversions are discontinued and the conversions are carried out on 7 channels
DISCNUM_8 = 7
8 conversions are discontinued and the conversions are carried out on 8 channels
Implementations§
Trait Implementations§
§impl Ord for Discnum
impl Ord for Discnum
§impl PartialOrd for Discnum
impl PartialOrd for Discnum
§fn partial_cmp(&self, other: &Discnum) -> Option<Ordering>
fn partial_cmp(&self, other: &Discnum) -> 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 Discnum
impl Eq for Discnum
impl StructuralEq for Discnum
impl StructuralPartialEq for Discnum
Auto Trait Implementations§
impl RefUnwindSafe for Discnum
impl Send for Discnum
impl Sync for Discnum
impl Unpin for Discnum
impl UnwindSafe for Discnum
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