摘要 |
PURPOSE:To prevent the occurrence of error in measurement of time, by providing the hardware to measure the pulse number of the clock pulse. CONSTITUTION:When the clock number corresponding to the desired time is set at the clock setting circuit 21 by the address-and-data bus 8, the counter 22 counts the basic clock signal 5. This count value is compared with the clock number set at the circuit 21 by the comparator 24. And the reset signal is delivered to the counter 22 when a coincidence is obtained. Thus the counter 22 is reset to start counting again. At the same time, the measuring circuit 25 meausres the frequencies of the coincidence signals supplied from the comparator 24 and then calculates the cumulative value of the time measurement to then hold the result of calculation in the holding area. The CPU3 obtains the result of measurement in the area 26 via the bus 8. In such way, the measurement of time is carried out by the hardware, thus preventing the occurrence of measurement error. |