#[repr(u8)]
pub enum MODE_A {
THRES,
SLIDINGWIN,
STEPDET,
}
Expand description
Configure Evaluation Mode
Value on reset: 0
Variants
THRES
0: Threshold comparison is used to evaluate sensor result
SLIDINGWIN
1: Sliding window is used to evaluate sensor result
STEPDET
2: Step detection is used to evaluate sensor result
Trait Implementations
impl Copy for MODE_A
impl StructuralPartialEq for MODE_A
Auto Trait Implementations
impl RefUnwindSafe for MODE_A
impl Send for MODE_A
impl Sync for MODE_A
impl Unpin for MODE_A
impl UnwindSafe for MODE_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more