Enum nrf52840_hal::target::qdec::reportper::REPORTPERR
source · pub enum REPORTPERR {
_10SMPL,
_40SMPL,
_80SMPL,
_120SMPL,
_160SMPL,
_200SMPL,
_240SMPL,
_280SMPL,
_1SMPL,
_Reserved(u8),
}
Expand description
Possible values of the field REPORTPER
Variants
_10SMPL
10 samples / report
_40SMPL
40 samples / report
_80SMPL
80 samples / report
_120SMPL
120 samples / report
_160SMPL
160 samples / report
_200SMPL
200 samples / report
_240SMPL
240 samples / report
_280SMPL
280 samples / report
_1SMPL
1 sample / report
_Reserved(u8)
Reserved
Implementations
sourceimpl REPORTPERR
impl REPORTPERR
sourcepub fn is_120smpl(&self) -> bool
pub fn is_120smpl(&self) -> bool
Checks if the value of the field is _120SMPL
sourcepub fn is_160smpl(&self) -> bool
pub fn is_160smpl(&self) -> bool
Checks if the value of the field is _160SMPL
sourcepub fn is_200smpl(&self) -> bool
pub fn is_200smpl(&self) -> bool
Checks if the value of the field is _200SMPL
sourcepub fn is_240smpl(&self) -> bool
pub fn is_240smpl(&self) -> bool
Checks if the value of the field is _240SMPL
sourcepub fn is_280smpl(&self) -> bool
pub fn is_280smpl(&self) -> bool
Checks if the value of the field is _280SMPL
Trait Implementations
sourceimpl Clone for REPORTPERR
impl Clone for REPORTPERR
sourcefn clone(&self) -> REPORTPERR
fn clone(&self) -> REPORTPERR
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 REPORTPERR
impl Debug for REPORTPERR
sourceimpl PartialEq<REPORTPERR> for REPORTPERR
impl PartialEq<REPORTPERR> for REPORTPERR
sourcefn eq(&self, other: &REPORTPERR) -> bool
fn eq(&self, other: &REPORTPERR) -> bool
impl Copy for REPORTPERR
impl StructuralPartialEq for REPORTPERR
Auto Trait Implementations
impl RefUnwindSafe for REPORTPERR
impl Send for REPORTPERR
impl Sync for REPORTPERR
impl Unpin for REPORTPERR
impl UnwindSafe for REPORTPERR
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