Compensating software time in processor having sleep mode
OwnerWoon-Gwun Leeinventor
Life of this patent
Estimating the term…
Abstract
An apparatus for and a method of compensating software time in a processor having a sleep mode includes: reading out a time value of a Real Time Clock (RTC) module upon the processor entering the sleep mode to obtain a time value immediately before the processor has entered the sleep mode; reading out a time value of the RTC module upon the processor being released from the sleep mode to obtain a time value immediately after the processor has been released from the sleep mode; and calculating a software compensation time based on the time value immediately before the processor has entered the sleep mode and the time value immediately after the processor has been released from the sleep mode.
Claims9
A method of compensating software time in a processor having a sleep mode, the method comprising:
- reading out a time value of a Real Time Clock (RTC) module upon the processor entering the sleep mode to obtain a time value immediately before the processor has entered the sleep mode;
- reading out a time value of the RTC module upon the processor being released from the sleep mode to obtain a time value immediately after the processor has been released from the sleep mode;
- and
- calculating a software compensation time based on the time value immediately before the processor has entered the sleep mode and the time value immediately after the processor has been released from the sleep mode.
An apparatus to compensate software time in a processor having a sleep mode, the apparatus comprising:
- a Real Time Clock (RTC) module adapted to supply a current time to the processor;
- a time compensation memory adapted to temporarily store the current time of the RTC module;
- and
- a controller adapted to read out a time value of an RTC module upon the processor entering the sleep mode to obtain a time value immediately before the processor has entered the sleep mode, to store the obtained time value in the time compensation memory, to read out a time value of the RTC module upon the processor being released from the sleep mode to obtain a time value immediately after the processor has been released from the sleep mode, and to calculate a software compensation time.
Dependencies are inferred from the claim text.