pub enum DIGIMODE_A {
ANALOG,
DIGITAL,
}
Expand description
Select Digital mode.
Value on reset: 0
Variants
ANALOG
0: Disable digital mode. Digital input set to 0.
DIGITAL
1: Enable Digital mode. Digital input is enabled.
Trait Implementations
sourceimpl Clone for DIGIMODE_A
impl Clone for DIGIMODE_A
sourcefn clone(&self) -> DIGIMODE_A
fn clone(&self) -> DIGIMODE_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 DIGIMODE_A
impl Debug for DIGIMODE_A
sourceimpl From<DIGIMODE_A> for bool
impl From<DIGIMODE_A> for bool
sourcefn from(variant: DIGIMODE_A) -> Self
fn from(variant: DIGIMODE_A) -> Self
Performs the conversion.
sourceimpl PartialEq<DIGIMODE_A> for DIGIMODE_A
impl PartialEq<DIGIMODE_A> for DIGIMODE_A
impl Copy for DIGIMODE_A
impl StructuralPartialEq for DIGIMODE_A
Auto Trait Implementations
impl RefUnwindSafe for DIGIMODE_A
impl Send for DIGIMODE_A
impl Sync for DIGIMODE_A
impl Unpin for DIGIMODE_A
impl UnwindSafe for DIGIMODE_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