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