摘要 |
<p>PURPOSE:To measure the time interval between two interruption processes with high accuracy based on the interruption frequency of an interval timer and the interruption occurrence unit time. CONSTITUTION:When an interruption occurs with operation of an input part 1, the interruption frequency of an interval timer is counted by a counter of a RAM 3. A CPU 2 calculates the time interval between two interruption processes based on the counted value of the timer 5 obtained at occurrence of a second interruption and the interruption occurrence unit time. The calculated time interval is written into a ROM 4. As a result, the time interval between two interruption processes is measured with high accuracy down to a second or less unlike a case where the output of a calendar LSI is utilized. Then the interruptions can be regenerated with high speed.</p> |