Enum efm32gg11b_pac::efm32gg11b840::acmp2::inputsel::CSRESSEL_A
source · #[repr(u8)]
pub enum CSRESSEL_A {
RES0,
RES1,
RES2,
RES3,
RES4,
RES5,
RES6,
RES7,
}
Expand description
Capacitive Sense Mode Internal Resistor Select
Value on reset: 0
Variants§
RES0
0: Internal capacitive sense resistor value 0
RES1
1: Internal capacitive sense resistor value 1
RES2
2: Internal capacitive sense resistor value 2
RES3
3: Internal capacitive sense resistor value 3
RES4
4: Internal capacitive sense resistor value 4
RES5
5: Internal capacitive sense resistor value 5
RES6
6: Internal capacitive sense resistor value 6
RES7
7: Internal capacitive sense resistor value 7
Trait Implementations§
source§impl Clone for CSRESSEL_A
impl Clone for CSRESSEL_A
source§fn clone(&self) -> CSRESSEL_A
fn clone(&self) -> CSRESSEL_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 CSRESSEL_A
impl Debug for CSRESSEL_A
source§impl From<CSRESSEL_A> for u8
impl From<CSRESSEL_A> for u8
source§fn from(variant: CSRESSEL_A) -> Self
fn from(variant: CSRESSEL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<CSRESSEL_A> for CSRESSEL_A
impl PartialEq<CSRESSEL_A> for CSRESSEL_A
source§fn eq(&self, other: &CSRESSEL_A) -> bool
fn eq(&self, other: &CSRESSEL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.