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