摘要 |
<p>PROBLEM TO BE SOLVED: To obtain the timer control method which is actualized without a necessary number of timer mechanisms as to hardware when state times of an arithmetic processor are measured by registering values obtained by subtracting the shortest time from new times as new times. SOLUTION: A detecting circuit 3 detects the least value among the values of timer value registers 10 to in whose timer enable signals 20 to 2n are effective. When the output of a timer circuit 5 reaches a specific value, an interruption detecting circuit 6 generates an interruption request and an interruption process under FW control is performed. In the interruption process, the values are inputted to the timer circuit 5 from the time having the shortest interval time up to the interruption to perform timer counting operation and each time an interruption is initiated thereafter, the interval time up to the interruption is corrected to reselect the value of the timer inputted to the timer circuit 5. Therefore, the one timer circuit 5 can be used effectively for more than one demand.</p> |