Enum efm32lg390_pac::dac0::ctrl::CONVMODE_A
source · [−]#[repr(u8)]
pub enum CONVMODE_A {
CONTINUOUS,
SAMPLEHOLD,
SAMPLEOFF,
}
Expand description
Conversion Mode
Value on reset: 0
Variants
CONTINUOUS
0: DAC is set in continuous mode
SAMPLEHOLD
1: DAC is set in sample/hold mode
SAMPLEOFF
2: DAC is set in sample/shut off mode
Trait Implementations
sourceimpl Clone for CONVMODE_A
impl Clone for CONVMODE_A
sourcefn clone(&self) -> CONVMODE_A
fn clone(&self) -> CONVMODE_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 CONVMODE_A
impl Debug for CONVMODE_A
sourceimpl From<CONVMODE_A> for u8
impl From<CONVMODE_A> for u8
sourcefn from(variant: CONVMODE_A) -> Self
fn from(variant: CONVMODE_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CONVMODE_A> for CONVMODE_A
impl PartialEq<CONVMODE_A> for CONVMODE_A
impl Copy for CONVMODE_A
impl StructuralPartialEq for CONVMODE_A
Auto Trait Implementations
impl RefUnwindSafe for CONVMODE_A
impl Send for CONVMODE_A
impl Sync for CONVMODE_A
impl Unpin for CONVMODE_A
impl UnwindSafe for CONVMODE_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