openthread_sys

Function otPlatTimeGetXtalAccuracy

Source
pub unsafe extern "C" fn otPlatTimeGetXtalAccuracy() -> u16
Expand description

Get the current estimated worst case accuracy (maximum ± deviation from the nominal frequency) of the local platform clock in units of PPM.

@note Implementations MAY estimate this value based on current operating conditions (e.g. temperature).

In case the implementation does not estimate the current value but returns a fixed value, this value MUST be the worst-case accuracy over all possible foreseen operating conditions (temperature, pressure, etc) of the implementation.

@returns The current platform clock accuracy, in PPM.