Enum stm32_metapac::opamp::vals::VpSel
#[repr(u8)]pub enum VpSel {
GPIOINP0 = 0,
DACOUT = 1,
GPIOINP2 = 2,
_RESERVED_3 = 3,
}
Variants§
GPIOINP0 = 0
GPIO INP0 connected to OPAMP_VINP
DACOUT = 1
dac_outx connected to OPAMPx_VINP
GPIOINP2 = 2
GPIO INP2 is connected to OPAMP_VINP
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for VpSel
impl Ord for VpSel
§impl PartialOrd for VpSel
impl PartialOrd for VpSel
§fn partial_cmp(&self, other: &VpSel) -> Option<Ordering>
fn partial_cmp(&self, other: &VpSel) -> 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 VpSel
impl Eq for VpSel
impl StructuralEq for VpSel
impl StructuralPartialEq for VpSel
Auto Trait Implementations§
impl RefUnwindSafe for VpSel
impl Send for VpSel
impl Sync for VpSel
impl Unpin for VpSel
impl UnwindSafe for VpSel
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