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
impl Copy for Discnum
impl Eq for Discnum
impl StructuralPartialEq for Discnum
Auto Trait Implementations§
impl Freeze for Discnum
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)