摘要 |
<p>PROBLEM TO BE SOLVED: To provide a soft timer processing method and device for generating a fixed waiting time independent of a clock frequency in an information processor. SOLUTION: A programmable interval timer is initialized (S11) and an initial count value T1 at the point of time is fetched (S12). Then, a standby step (S13) for executing the processing of an NOP loop is performed. After a loop processing, a count value T2 after the standby of the programmable interval timer is fetched again (S14). Then, from the difference T1 -T2 of the initial count value T1 and the count value T2 after the standby, a relative count value T is obtained (S15). Then, a set value is computed as the initial value of a loop counter B.</p> |