Enum nrf52832_pac::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§
source§impl 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§
source§impl Clone for REPORTPERR
impl Clone for REPORTPERR
source§fn clone(&self) -> REPORTPERR
fn clone(&self) -> REPORTPERR
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more