#[repr(u8)]pub enum WARMUPMODE_A {
NORMAL = 0,
FASTBG = 1,
KEEPSCANREFWARM = 2,
KEEPADCWARM = 3,
}
Expand description
Warm-up Mode
Value on reset: 0
Variants§
NORMAL = 0
0: ADC is shut down after each conversion
FASTBG = 1
1: Bandgap references do not need warm up, but have reduced accuracy.
KEEPSCANREFWARM = 2
2: Reference selected for scan mode is kept warm.
KEEPADCWARM = 3
3: ADC is kept warmed up and scan reference is kept warm
Trait Implementations§
Source§impl Clone for WARMUPMODE_A
impl Clone for WARMUPMODE_A
Source§fn clone(&self) -> WARMUPMODE_A
fn clone(&self) -> WARMUPMODE_A
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WARMUPMODE_A
impl Debug for WARMUPMODE_A
Source§impl From<WARMUPMODE_A> for u8
impl From<WARMUPMODE_A> for u8
Source§fn from(variant: WARMUPMODE_A) -> Self
fn from(variant: WARMUPMODE_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WARMUPMODE_A
impl PartialEq for WARMUPMODE_A
impl Copy for WARMUPMODE_A
impl StructuralPartialEq for WARMUPMODE_A
Auto Trait Implementations§
impl Freeze for WARMUPMODE_A
impl RefUnwindSafe for WARMUPMODE_A
impl Send for WARMUPMODE_A
impl Sync for WARMUPMODE_A
impl Unpin for WARMUPMODE_A
impl UnwindSafe for WARMUPMODE_A
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