Enum efm32gg11b_pac::efm32gg11b110::lesense::ctrl::SCANMODE_A
source · #[repr(u8)]
pub enum SCANMODE_A {
PERIODIC,
ONESHOT,
PRS,
}
Expand description
Configure Scan Mode
Value on reset: 0
Variants§
PERIODIC
0: A new scan is started each time the period counter overflows
ONESHOT
1: A single scan is performed when START in CMD is set
PRS
2: Pulse on PRS channel
Trait Implementations§
source§impl Clone for SCANMODE_A
impl Clone for SCANMODE_A
source§fn clone(&self) -> SCANMODE_A
fn clone(&self) -> SCANMODE_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 SCANMODE_A
impl Debug for SCANMODE_A
source§impl From<SCANMODE_A> for u8
impl From<SCANMODE_A> for u8
source§fn from(variant: SCANMODE_A) -> Self
fn from(variant: SCANMODE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<SCANMODE_A> for SCANMODE_A
impl PartialEq<SCANMODE_A> for SCANMODE_A
source§fn eq(&self, other: &SCANMODE_A) -> bool
fn eq(&self, other: &SCANMODE_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.