Enum efm32gg11b_pac::efm32gg11b840::lesense::ctrl::SCANCONF_A
source · #[repr(u8)]
pub enum SCANCONF_A {
DIRMAP,
INVMAP,
TOGGLE,
DECDEF,
}
Expand description
Select Scan Configuration
Value on reset: 0
Variants§
DIRMAP
0: The channel configuration register registers used are directly mapped to the channel number.
INVMAP
1: The channel configuration register registers used are CHX+8_CONF for channels 0-7 and CHX-8_CONF for channels 8-15.
TOGGLE
2: The channel configuration register registers used toggles between CHX_CONF and CHX+8_CONF when channel x triggers
DECDEF
3: The decoder state defines the CONF registers to be used.
Trait Implementations§
source§impl Clone for SCANCONF_A
impl Clone for SCANCONF_A
source§fn clone(&self) -> SCANCONF_A
fn clone(&self) -> SCANCONF_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 SCANCONF_A
impl Debug for SCANCONF_A
source§impl From<SCANCONF_A> for u8
impl From<SCANCONF_A> for u8
source§fn from(variant: SCANCONF_A) -> Self
fn from(variant: SCANCONF_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<SCANCONF_A> for SCANCONF_A
impl PartialEq<SCANCONF_A> for SCANCONF_A
source§fn eq(&self, other: &SCANCONF_A) -> bool
fn eq(&self, other: &SCANCONF_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.