Enum efm32gg11b_pac::efm32gg11b110::lesense::perctrl::ACMP1MODE_A
source · #[repr(u8)]
pub enum ACMP1MODE_A {
DISABLE,
MUX,
MUXTHRES,
}
Expand description
ACMP1 Mode
Value on reset: 0
Variants§
DISABLE
0: LESENSE does not control ACMP1
MUX
1: LESENSE controls the input mux (POSSEL) of ACMP1
MUXTHRES
2: LESENSE controls the input mux and the threshold value (VDDLEVEL) of ACMP1
Trait Implementations§
source§impl Clone for ACMP1MODE_A
impl Clone for ACMP1MODE_A
source§fn clone(&self) -> ACMP1MODE_A
fn clone(&self) -> ACMP1MODE_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 ACMP1MODE_A
impl Debug for ACMP1MODE_A
source§impl From<ACMP1MODE_A> for u8
impl From<ACMP1MODE_A> for u8
source§fn from(variant: ACMP1MODE_A) -> Self
fn from(variant: ACMP1MODE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<ACMP1MODE_A> for ACMP1MODE_A
impl PartialEq<ACMP1MODE_A> for ACMP1MODE_A
source§fn eq(&self, other: &ACMP1MODE_A) -> bool
fn eq(&self, other: &ACMP1MODE_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.