Enum stm32_metapac::opamp::vals::VmSel
#[repr(u8)]pub enum VmSel {
VINM0 = 0,
VINM1 = 1,
PGA = 2,
OUTPUT = 3,
}
Variants§
VINM0 = 0
VINM0 connected to VINM input
VINM1 = 1
VINM1 connected to VINM input
PGA = 2
Feedback resistor connected to VINM (PGA mode)
OUTPUT = 3
OpAmp output connected to VINM (Follower mode)
Implementations§
Trait Implementations§
§impl Ord for VmSel
impl Ord for VmSel
§impl PartialOrd for VmSel
impl PartialOrd for VmSel
impl Copy for VmSel
impl Eq for VmSel
impl StructuralPartialEq for VmSel
Auto Trait Implementations§
impl Freeze for VmSel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)