#[repr(transparent)]pub struct CounterVal(pub u32);Expand description
no description available
Tuple Fields§
§0: u32Implementations§
Source§impl CounterVal
impl CounterVal
Sourcepub const fn clk_ratio(&self) -> u8
pub const fn clk_ratio(&self) -> u8
Gives the ratio between the internal clocks frequencies and the register clock frequency for evaluation and certification purposes.
Sourcepub const fn set_clk_ratio(&mut self, val: u8)
pub const fn set_clk_ratio(&mut self, val: u8)
Gives the ratio between the internal clocks frequencies and the register clock frequency for evaluation and certification purposes.
Sourcepub const fn refresh_cnt(&self) -> u8
pub const fn refresh_cnt(&self) -> u8
Incremented (till max possible value) each time COUNTER was updated since last reading to any *_NUMBER.
Sourcepub const fn set_refresh_cnt(&mut self, val: u8)
pub const fn set_refresh_cnt(&mut self, val: u8)
Incremented (till max possible value) each time COUNTER was updated since last reading to any *_NUMBER.
Trait Implementations§
Source§impl Clone for CounterVal
impl Clone for CounterVal
Source§fn clone(&self) -> CounterVal
fn clone(&self) -> CounterVal
Returns a duplicate 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 CounterVal
impl Debug for CounterVal
Source§impl Default for CounterVal
impl Default for CounterVal
Source§fn default() -> CounterVal
fn default() -> CounterVal
Returns the “default value” for a type. Read more
Source§impl PartialEq for CounterVal
impl PartialEq for CounterVal
impl Copy for CounterVal
impl Eq for CounterVal
impl StructuralPartialEq for CounterVal
Auto Trait Implementations§
impl Freeze for CounterVal
impl RefUnwindSafe for CounterVal
impl Send for CounterVal
impl Sync for CounterVal
impl Unpin for CounterVal
impl UnwindSafe for CounterVal
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