Struct ctru_sys::osTimeRef_s
source · #[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 copy 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