Enum stm32_metapac::opamp::vals::VmSel
#[repr(u8)]pub enum VmSel {
INM0 = 0,
INM1 = 1,
PGA = 2,
FOLLOWER = 3,
}
Variants§
INM0 = 0
INM0 connected to OPAMP_VINM input
INM1 = 1
INM1 connected to OPAMP_VINM input
PGA = 2
Feedback resistor is connected to the OPAMP_VINM input (PGA mode), Inverting input selection depends on the PGA_GAIN setting
FOLLOWER = 3
opamp_out connected to OPAMP_VINM input (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
)