Enum efr32xg12p::lesense::ctrl::SCANMODER
[−]
[src]
pub enum SCANMODER { PERIODIC, ONESHOT, PRS, _Reserved(u8), }
Possible values of the field SCANMODE
Variants
PERIODIC
A new scan is started each time the period counter overflows
ONESHOT
A single scan is performed when START in CMD is set
PRS
Pulse on PRS channel
_Reserved(u8)
Reserved
Methods
impl SCANMODER
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_periodic(&self) -> bool
[src]
Checks if the value of the field is PERIODIC
fn is_oneshot(&self) -> bool
[src]
Checks if the value of the field is ONESHOT
fn is_prs(&self) -> bool
[src]
Checks if the value of the field is PRS
Trait Implementations
impl Clone for SCANMODER
[src]
fn clone(&self) -> SCANMODER
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more