Enum VmSel
#[repr(u8)]pub enum VmSel {
Gpio = 0,
LowLeakage = 1,
NotConnected = 2,
_RESERVED_3 = 3,
}Variants§
Gpio = 0
GPIO connected to VINM (valid also in PGA mode for filtering)
LowLeakage = 1
Dedicated low-leakage input connected to VINM (valid also in PGA mode for filtering). Package-dependent on STM32L47x/L48x/L49x/L4Ax and (OPAMP2) STM32L4+/L5; available on STM32U5; reserved on STM32L41x-L46x, STM32U0 and STM32U3
NotConnected = 2
Inverting input not externally connected, valid only in PGA mode (1x, value 3 is equivalent)
_RESERVED_3 = 3
Implementations§
Trait Implementations§
impl Copy for VmSel
impl Eq for VmSel
§impl Ord for VmSel
impl Ord for VmSel
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for VmSel
impl PartialOrd 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 UnsafeUnpin 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