Enum efm32lg390_pac::lesense::perctrl::DACCH0CONV_A
source · [−]#[repr(u8)]
pub enum DACCH0CONV_A {
DISABLE,
CONTINUOUS,
SAMPLEHOLD,
SAMPLEOFF,
}
Expand description
DAC channel 0 conversion mode
Value on reset: 0
Variants
DISABLE
0: LESENSE does not control DAC CH0.
CONTINUOUS
1: DAC channel 0 is driven in continuous mode.
SAMPLEHOLD
2: DAC channel 0 is driven in sample hold mode.
SAMPLEOFF
3: DAC channel 0 is driven in sample off mode.
Trait Implementations
sourceimpl Clone for DACCH0CONV_A
impl Clone for DACCH0CONV_A
sourcefn clone(&self) -> DACCH0CONV_A
fn clone(&self) -> DACCH0CONV_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DACCH0CONV_A
impl Debug for DACCH0CONV_A
sourceimpl From<DACCH0CONV_A> for u8
impl From<DACCH0CONV_A> for u8
sourcefn from(variant: DACCH0CONV_A) -> Self
fn from(variant: DACCH0CONV_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<DACCH0CONV_A> for DACCH0CONV_A
impl PartialEq<DACCH0CONV_A> for DACCH0CONV_A
impl Copy for DACCH0CONV_A
impl StructuralPartialEq for DACCH0CONV_A
Auto Trait Implementations
impl RefUnwindSafe for DACCH0CONV_A
impl Send for DACCH0CONV_A
impl Sync for DACCH0CONV_A
impl Unpin for DACCH0CONV_A
impl UnwindSafe for DACCH0CONV_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more