#[repr(u8)]pub enum ANADETECT_A {
CROSS = 0,
UP = 1,
DOWN = 2,
}
Expand description
Analog detect configuration
Value on reset: 0
Variants§
CROSS = 0
0: Generate ANADETECT on crossing, both upward crossing and downward crossing
UP = 1
1: Generate ANADETECT on upward crossing only
DOWN = 2
2: Generate ANADETECT on downward crossing only
Trait Implementations§
source§impl Clone for ANADETECT_A
impl Clone for ANADETECT_A
source§fn clone(&self) -> ANADETECT_A
fn clone(&self) -> ANADETECT_A
Returns a copy 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 ANADETECT_A
impl Debug for ANADETECT_A
source§impl From<ANADETECT_A> for u8
impl From<ANADETECT_A> for u8
source§fn from(variant: ANADETECT_A) -> Self
fn from(variant: ANADETECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for ANADETECT_A
impl PartialEq for ANADETECT_A
impl Copy for ANADETECT_A
impl StructuralPartialEq for ANADETECT_A
Auto Trait Implementations§
impl Freeze for ANADETECT_A
impl RefUnwindSafe for ANADETECT_A
impl Send for ANADETECT_A
impl Sync for ANADETECT_A
impl Unpin for ANADETECT_A
impl UnwindSafe for ANADETECT_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)