#[repr(u8)]pub enum ACMP0MODE_A {
DISABLE = 0,
MUX = 1,
MUXTHRES = 2,
}
Expand description
ACMP0 mode
Value on reset: 0
Variants§
DISABLE = 0
0: LESENSE does not control ACMP0
MUX = 1
1: LESENSE controls the input mux (POSSEL) of ACMP0
MUXTHRES = 2
2: LESENSE controls the input mux (POSSEL) and the threshold value (VDDLEVEL) of ACMP0
Trait Implementations§
Source§impl Clone for ACMP0MODE_A
impl Clone for ACMP0MODE_A
Source§fn clone(&self) -> ACMP0MODE_A
fn clone(&self) -> ACMP0MODE_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 ACMP0MODE_A
impl Debug for ACMP0MODE_A
Source§impl From<ACMP0MODE_A> for u8
impl From<ACMP0MODE_A> for u8
Source§fn from(variant: ACMP0MODE_A) -> Self
fn from(variant: ACMP0MODE_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ACMP0MODE_A
impl PartialEq for ACMP0MODE_A
impl Copy for ACMP0MODE_A
impl StructuralPartialEq for ACMP0MODE_A
Auto Trait Implementations§
impl Freeze for ACMP0MODE_A
impl RefUnwindSafe for ACMP0MODE_A
impl Send for ACMP0MODE_A
impl Sync for ACMP0MODE_A
impl Unpin for ACMP0MODE_A
impl UnwindSafe for ACMP0MODE_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