Enum efr32x12p::lesense::ch3_eval::MODER
[−]
[src]
pub enum MODER { THRES, SLIDINGWIN, STEPDET, _Reserved(u8), }
Possible values of the field MODE
Variants
THRES
Threshold comparison is used to evaluate sensor result
SLIDINGWIN
Sliding window is used to evaluate sensor result
STEPDET
Step detection is used to evaluate sensor result
_Reserved(u8)
Reserved
Methods
impl MODER
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_thres(&self) -> bool
[src]
Checks if the value of the field is THRES
fn is_slidingwin(&self) -> bool
[src]
Checks if the value of the field is SLIDINGWIN
fn is_stepdet(&self) -> bool
[src]
Checks if the value of the field is STEPDET
Trait Implementations
impl Clone for MODER
[src]
fn clone(&self) -> MODER
[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