Enum stm32_metapac::opamp::vals::VmSel
#[repr(u8)]pub enum VmSel {
PC5 = 0,
PA5 = 1,
PGA = 2,
FOLLOWER = 3,
}
Variants§
PC5 = 0
PC5 (VM0) used as OPAMP2 inverting input
PA5 = 1
PA5 (VM1) used as OPAMP2 inverting input
PGA = 2
Resistor feedback output (PGA mode)
FOLLOWER = 3
Follower mode
Implementations§
Trait Implementations§
§impl Ord for VmSel
impl Ord for VmSel
§impl PartialOrd for VmSel
impl PartialOrd for VmSel
§fn partial_cmp(&self, other: &VmSel) -> Option<Ordering>
fn partial_cmp(&self, other: &VmSel) -> 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 VmSel
impl Eq for VmSel
impl StructuralEq for VmSel
impl StructuralPartialEq for VmSel
Auto Trait Implementations§
impl RefUnwindSafe for VmSel
impl Send for VmSel
impl Sync for VmSel
impl Unpin for VmSel
impl UnwindSafe for VmSel
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