#[repr(u8)]pub enum WARMUPMODE_A {
NORMAL = 0,
KEEPACMPWARM = 1,
KEEPDACWARM = 2,
KEEPACMPDACWARM = 3,
}
Expand description
ACMP and DAC duty cycle mode
Value on reset: 0
Variants§
NORMAL = 0
0: The analog comparators and DAC are shut down when LESENSE is idle
KEEPACMPWARM = 1
1: The analog comparators are kept powered up when LESENSE is idle
KEEPDACWARM = 2
2: The DAC is kept powered up when LESENSE is idle
KEEPACMPDACWARM = 3
3: The analog comparators and DAC are kept powered up when LESENSE is idle
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