extern struct TimeCapabilities [src]
Capabilities of the clock device
Fields
resolution: u32Resolution in Hz
accuracy: u32Accuracy in an error rate of 1e-6 parts per million.
sets_to_zero: boolIf true, a time set operation clears the device's time below the resolution level.
Source
pub const TimeCapabilities = extern struct {
/// Resolution in Hz
resolution: u32,
/// Accuracy in an error rate of 1e-6 parts per million.
accuracy: u32,
/// If true, a time set operation clears the device's time below the resolution level.
sets_to_zero: bool,
}