Home
last modified time | relevance | path

Searched refs:xo_drift (Results 1 – 1 of 1) sorted by relevance

/nrf_hw_models-3.7.0/src/HW_models/
Dtrivial_xo.c13 static double xo_drift = 0.0; //Crystal oscillator drift relative to the phy variable
18 dev_time = ((1.0 + xo_drift)*(long double)p_t) - time_off; in dev_time_from_phy()
26 phy_time = ((long double)(d_t + time_off))/(1.0 + xo_drift); in phy_time_from_dev()
39 xo_drift = tmp_xo_drift; in arg_xo_drift_found()
62 if ((xo_drift < -3e-4) || (xo_drift > 3e-4)) { in trivial_xo_init()
63 bs_trace_warning_line("Very high clock drift set (%0.f ppm > 300ppm)\n", xo_drift*1e6); in trivial_xo_init()
64 if ((xo_drift < -1e-2) || (xo_drift > 1e-2)) { in trivial_xo_init()
65 bs_trace_error_line("Insane clock drift set (%0.f ppm)\n", xo_drift*1e6); in trivial_xo_init()