#[repr(C)]pub struct osTimeRef_s {
pub value_ms: u64_,
pub value_tick: u64_,
pub sysclock_hz: s64,
pub drift_ms: s64,
}Expand description
Time reference information struct (filled in by PTM).
Fields§
§value_ms: u64_< Milliseconds elapsed since January 1900 when this structure was last updated
value_tick: u64_< System ticks elapsed since boot when this structure was last updated
sysclock_hz: s64< System clock frequency in Hz adjusted using RTC measurements (usually around SYSCLOCK_ARM11)
drift_ms: s64< Measured time drift of the system clock (according to the RTC) in milliseconds since the last update
Trait Implementations§
Source§impl Clone for osTimeRef_s
impl Clone for osTimeRef_s
Source§fn clone(&self) -> osTimeRef_s
fn clone(&self) -> osTimeRef_s
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for osTimeRef_s
impl Debug for osTimeRef_s
Source§impl Default for osTimeRef_s
impl Default for osTimeRef_s
Source§fn default() -> osTimeRef_s
fn default() -> osTimeRef_s
Returns the “default value” for a type. Read more
impl Copy for osTimeRef_s
Auto Trait Implementations§
impl Freeze for osTimeRef_s
impl RefUnwindSafe for osTimeRef_s
impl Send for osTimeRef_s
impl Sync for osTimeRef_s
impl Unpin for osTimeRef_s
impl UnwindSafe for osTimeRef_s
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)