Enum efm32gg11b_pac::efm32gg11b840::lesense::perctrl::ACMP0MODE_A
source · #[repr(u8)]
pub enum ACMP0MODE_A {
DISABLE,
MUX,
MUXTHRES,
}
Expand description
ACMP0 Mode
Value on reset: 0
Variants§
DISABLE
0: LESENSE does not control ACMP0
MUX
1: LESENSE controls the input mux (POSSEL) of ACMP0
MUXTHRES
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 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 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<ACMP0MODE_A> for ACMP0MODE_A
impl PartialEq<ACMP0MODE_A> for ACMP0MODE_A
source§fn eq(&self, other: &ACMP0MODE_A) -> bool
fn eq(&self, other: &ACMP0MODE_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.