摘要 |
An embodiment of a method for switching to an operating mode a device comprising a counter counting the pulses number of a first clock and a date synchronized with an external reference date. The embodiment comprising at least: step A: at a first pulse edge of the first clock, storing corresponding first pulses number and first date synchronized with a first reference date; step B: at a second pulse edge of the first clock, storing corresponding second pulses number and second date synchronized with a second reference date; step C: computing a frequency error of the first clock by using at least the values stored; step D: according to the frequency error, computing a third pulses number; and step E: switching the device to the second operating mode at the occurrence of the third pulses number. |