Enum stm32_metapac::adc::vals::Adcaldif
#[repr(u8)]pub enum Adcaldif {
SINGLEENDED = 0,
DIFFERENTIAL = 1,
}
Variants§
SINGLEENDED = 0
Calibration for single-ended mode
DIFFERENTIAL = 1
Calibration for differential mode
Implementations§
Trait Implementations§
§impl Ord for Adcaldif
impl Ord for Adcaldif
§impl PartialOrd for Adcaldif
impl PartialOrd for Adcaldif
§fn partial_cmp(&self, other: &Adcaldif) -> Option<Ordering>
fn partial_cmp(&self, other: &Adcaldif) -> 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 Adcaldif
impl Eq for Adcaldif
impl StructuralEq for Adcaldif
impl StructuralPartialEq for Adcaldif
Auto Trait Implementations§
impl RefUnwindSafe for Adcaldif
impl Send for Adcaldif
impl Sync for Adcaldif
impl Unpin for Adcaldif
impl UnwindSafe for Adcaldif
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