Enum nrf52820_pac::qdec::reportper::REPORTPER_A
source · [−]#[repr(u8)]
pub enum REPORTPER_A {
_10SMPL,
_40SMPL,
_80SMPL,
_120SMPL,
_160SMPL,
_200SMPL,
_240SMPL,
_280SMPL,
_1SMPL,
}
Expand description
Specifies the number of samples to be accumulated in the ACC register before the REPORTRDY and DBLRDY events can be generated.
Value on reset: 0
Variants
_10SMPL
0: 10 samples/report
_40SMPL
1: 40 samples/report
_80SMPL
2: 80 samples/report
_120SMPL
3: 120 samples/report
_160SMPL
4: 160 samples/report
_200SMPL
5: 200 samples/report
_240SMPL
6: 240 samples/report
_280SMPL
7: 280 samples/report
_1SMPL
8: 1 sample/report
Trait Implementations
sourceimpl Clone for REPORTPER_A
impl Clone for REPORTPER_A
sourcefn clone(&self) -> REPORTPER_A
fn clone(&self) -> REPORTPER_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for REPORTPER_A
impl Debug for REPORTPER_A
sourceimpl From<REPORTPER_A> for u8
impl From<REPORTPER_A> for u8
sourcefn from(variant: REPORTPER_A) -> Self
fn from(variant: REPORTPER_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<REPORTPER_A> for REPORTPER_A
impl PartialEq<REPORTPER_A> for REPORTPER_A
sourcefn eq(&self, other: &REPORTPER_A) -> bool
fn eq(&self, other: &REPORTPER_A) -> bool
impl Copy for REPORTPER_A
impl StructuralPartialEq for REPORTPER_A
Auto Trait Implementations
impl RefUnwindSafe for REPORTPER_A
impl Send for REPORTPER_A
impl Sync for REPORTPER_A
impl Unpin for REPORTPER_A
impl UnwindSafe for REPORTPER_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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