Enum stm32_metapac::adc::vals::Advregen
#[repr(u8)]pub enum Advregen {
INTERMEDIATE = 0,
ENABLED = 1,
DISABLED = 2,
_RESERVED_3 = 3,
}
Variants§
INTERMEDIATE = 0
Intermediate state required when moving the ADC voltage regulator between states
ENABLED = 1
ADC voltage regulator enabled
DISABLED = 2
ADC voltage regulator disabled
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Advregen
impl Ord for Advregen
§impl PartialOrd for Advregen
impl PartialOrd for Advregen
§fn partial_cmp(&self, other: &Advregen) -> Option<Ordering>
fn partial_cmp(&self, other: &Advregen) -> 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 Advregen
impl Eq for Advregen
impl StructuralEq for Advregen
impl StructuralPartialEq for Advregen
Auto Trait Implementations§
impl RefUnwindSafe for Advregen
impl Send for Advregen
impl Sync for Advregen
impl Unpin for Advregen
impl UnwindSafe for Advregen
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