#[repr(transparent)]pub struct AutocorrStatistic(pub u32);
Expand description
Statistic about Autocorrelation test activations.
Tuple Fields§
§0: u32
Implementations§
Source§impl AutocorrStatistic
impl AutocorrStatistic
Sourcepub const fn autocorr_trys(&self) -> u16
pub const fn autocorr_trys(&self) -> u16
Count each time an autocorrelation test starts. Any write to the register reset the counter. Stop collecting statistic if one of the counters reached the limit.
Sourcepub fn set_autocorr_trys(&mut self, val: u16)
pub fn set_autocorr_trys(&mut self, val: u16)
Count each time an autocorrelation test starts. Any write to the register reset the counter. Stop collecting statistic if one of the counters reached the limit.
Sourcepub const fn autocorr_fails(&self) -> u8
pub const fn autocorr_fails(&self) -> u8
Count each time an autocorrelation test fails. Any write to the register reset the counter. Stop collecting statistic if one of the counters reached the limit.
Sourcepub fn set_autocorr_fails(&mut self, val: u8)
pub fn set_autocorr_fails(&mut self, val: u8)
Count each time an autocorrelation test fails. Any write to the register reset the counter. Stop collecting statistic if one of the counters reached the limit.
Sourcepub fn set_reserved(&mut self, val: u16)
pub fn set_reserved(&mut self, val: u16)
RESERVED
Trait Implementations§
Source§impl Clone for AutocorrStatistic
impl Clone for AutocorrStatistic
Source§fn clone(&self) -> AutocorrStatistic
fn clone(&self) -> AutocorrStatistic
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 moreSource§impl Debug for AutocorrStatistic
impl Debug for AutocorrStatistic
Source§impl Default for AutocorrStatistic
impl Default for AutocorrStatistic
Source§fn default() -> AutocorrStatistic
fn default() -> AutocorrStatistic
Returns the “default value” for a type. Read more
Source§impl PartialEq for AutocorrStatistic
impl PartialEq for AutocorrStatistic
impl Copy for AutocorrStatistic
impl Eq for AutocorrStatistic
impl StructuralPartialEq for AutocorrStatistic
Auto Trait Implementations§
impl Freeze for AutocorrStatistic
impl RefUnwindSafe for AutocorrStatistic
impl Send for AutocorrStatistic
impl Sync for AutocorrStatistic
impl Unpin for AutocorrStatistic
impl UnwindSafe for AutocorrStatistic
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