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
impl Copy for Advregen
impl Eq for Advregen
impl StructuralPartialEq for Advregen
Auto Trait Implementations§
impl Freeze for Advregen
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
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
)