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