Enum stm32_metapac::comp::vals::Inm
#[repr(u8)]pub enum Inm {
Show 16 variants
QUARTERVREF = 0,
HALFVREF = 1,
THREEQUARTERVREF = 2,
VREF = 3,
DAC1 = 4,
DAC2 = 5,
INM1 = 6,
INM2 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}
Variants§
QUARTERVREF = 0
Inverting input set to 1/4 VRef
HALFVREF = 1
Inverting input set to 1/2 VRef
THREEQUARTERVREF = 2
Inverting input set to 3/4 VRef
VREF = 3
Inverting input set to VRef
DAC1 = 4
Inverting input set to DAC1 output
DAC2 = 5
Inverting input set to DAC2 output
INM1 = 6
Inverting input set to IO1 (PB7)
INM2 = 7
Inverting input set to IO2 (PB3)
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
§impl Ord for Inm
impl Ord for Inm
§impl PartialOrd for Inm
impl PartialOrd for Inm
§fn partial_cmp(&self, other: &Inm) -> Option<Ordering>
fn partial_cmp(&self, other: &Inm) -> 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 Inm
impl Eq for Inm
impl StructuralEq for Inm
impl StructuralPartialEq for Inm
Auto Trait Implementations§
impl RefUnwindSafe for Inm
impl Send for Inm
impl Sync for Inm
impl Unpin for Inm
impl UnwindSafe for Inm
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