Enum stm32_metapac::vrefbuf::vals::Vrs
#[repr(u8)]pub enum Vrs {
VREF0 = 0,
VREF1 = 1,
VREF2 = 2,
VREF3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
VREF0 = 0
Voltage reference set to VREF_OUT1 (around 2.048 V).
VREF1 = 1
Voltage reference set to VREF_OUT2 (around 2.5 V).
VREF2 = 2
Voltage reference set to VREF_OUT2 (around 2.5 V).
VREF3 = 3
Voltage reference set to VREF_OUT2 (around 2.5 V).
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Vrs
impl Ord for Vrs
§impl PartialOrd for Vrs
impl PartialOrd for Vrs
§fn partial_cmp(&self, other: &Vrs) -> Option<Ordering>
fn partial_cmp(&self, other: &Vrs) -> 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 Vrs
impl Eq for Vrs
impl StructuralEq for Vrs
impl StructuralPartialEq for Vrs
Auto Trait Implementations§
impl RefUnwindSafe for Vrs
impl Send for Vrs
impl Sync for Vrs
impl Unpin for Vrs
impl UnwindSafe for Vrs
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