#[repr(transparent)]pub struct Cpu1stckcal(pub u32);Expand description
System tick calibration for CPU1
Tuple Fields§
§0: u32Implementations§
Source§impl Cpu1stckcal
impl Cpu1stckcal
Sourcepub const fn tenms(&self) -> u32
pub const fn tenms(&self) -> u32
Reload value for 10ms (100Hz) 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 10ms (100Hz) timing, subject to system clock skew errors. If the value reads as zero, the calibration value is not known.
Sourcepub const fn skew(&self) -> bool
pub const fn skew(&self) -> bool
Indicates whether the TENMS value is exact: 0 = TENMS value is exact; 1 = TENMS value is inexact, or not given.
Sourcepub const fn set_skew(&mut self, val: bool)
pub const fn set_skew(&mut self, val: bool)
Indicates whether the TENMS value is exact: 0 = TENMS value is exact; 1 = TENMS value is inexact, or not given.
Trait Implementations§
Source§impl Clone for Cpu1stckcal
impl Clone for Cpu1stckcal
Source§fn clone(&self) -> Cpu1stckcal
fn clone(&self) -> Cpu1stckcal
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 Cpu1stckcal
impl Debug for Cpu1stckcal
Source§impl Default for Cpu1stckcal
impl Default for Cpu1stckcal
Source§fn default() -> Cpu1stckcal
fn default() -> Cpu1stckcal
Returns the “default value” for a type. Read more
Source§impl PartialEq for Cpu1stckcal
impl PartialEq for Cpu1stckcal
impl Copy for Cpu1stckcal
impl Eq for Cpu1stckcal
impl StructuralPartialEq for Cpu1stckcal
Auto Trait Implementations§
impl Freeze for Cpu1stckcal
impl RefUnwindSafe for Cpu1stckcal
impl Send for Cpu1stckcal
impl Sync for Cpu1stckcal
impl Unpin for Cpu1stckcal
impl UnwindSafe for Cpu1stckcal
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