#[repr(transparent)]pub struct Cpu0stckcal(pub u32);Expand description
Secure CPU0 System Tick Calibration
Tuple Fields§
§0: u32Implementations§
Source§impl Cpu0stckcal
impl Cpu0stckcal
Sourcepub const fn tenms(&self) -> u32
pub const fn tenms(&self) -> u32
Reload value for 10 ms (100 Hz) timing, subject to system clock skew errors. If the value reads as zero, the calibration value is not known.
Sourcepub const fn set_tenms(&mut self, val: u32)
pub const fn set_tenms(&mut self, val: u32)
Reload value for 10 ms (100 Hz) timing, subject to system clock skew errors. If the value reads as zero, the calibration value is not known.
Sourcepub const fn skew(&self) -> Cpu0stckcalSkew
pub const fn skew(&self) -> Cpu0stckcalSkew
Whether the TENMS value is exact.
Sourcepub const fn set_skew(&mut self, val: Cpu0stckcalSkew)
pub const fn set_skew(&mut self, val: Cpu0stckcalSkew)
Whether the TENMS value is exact.
Sourcepub const fn noref(&self) -> Cpu0stckcalNoref
pub const fn noref(&self) -> Cpu0stckcalNoref
Whether the device provides a reference clock to the processor.
Sourcepub const fn set_noref(&mut self, val: Cpu0stckcalNoref)
pub const fn set_noref(&mut self, val: Cpu0stckcalNoref)
Whether the device provides a reference clock to the processor.
Trait Implementations§
Source§impl Clone for Cpu0stckcal
impl Clone for Cpu0stckcal
Source§fn clone(&self) -> Cpu0stckcal
fn clone(&self) -> Cpu0stckcal
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 Cpu0stckcal
impl Debug for Cpu0stckcal
Source§impl Default for Cpu0stckcal
impl Default for Cpu0stckcal
Source§fn default() -> Cpu0stckcal
fn default() -> Cpu0stckcal
Returns the “default value” for a type. Read more
Source§impl PartialEq for Cpu0stckcal
impl PartialEq for Cpu0stckcal
impl Copy for Cpu0stckcal
impl Eq for Cpu0stckcal
impl StructuralPartialEq for Cpu0stckcal
Auto Trait Implementations§
impl Freeze for Cpu0stckcal
impl RefUnwindSafe for Cpu0stckcal
impl Send for Cpu0stckcal
impl Sync for Cpu0stckcal
impl Unpin for Cpu0stckcal
impl UnwindSafe for Cpu0stckcal
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