#[repr(transparent)]pub struct Reportper(pub u32);
Expand description
Number of samples to be taken before REPORTRDY and DBLRDY events can be generated
Tuple Fields§
§0: u32
Implementations§
Source§impl Reportper
impl Reportper
Sourcepub const fn reportper(&self) -> Reportper
pub const fn reportper(&self) -> Reportper
Specifies the number of samples to be accumulated in the ACC register before the REPORTRDY and DBLRDY events can be generated.
Sourcepub fn set_reportper(&mut self, val: Reportper)
pub fn set_reportper(&mut self, val: Reportper)
Specifies the number of samples to be accumulated in the ACC register before the REPORTRDY and DBLRDY events can be generated.
Trait Implementations§
impl Copy for Reportper
impl Eq for Reportper
impl StructuralPartialEq for Reportper
Auto Trait Implementations§
impl Freeze for Reportper
impl RefUnwindSafe for Reportper
impl Send for Reportper
impl Sync for Reportper
impl Unpin for Reportper
impl UnwindSafe for Reportper
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)