摘要 |
<p>PURPOSE:To perform fine control over a parallel processing system which has plural processing units. CONSTITUTION:In a step S7, the processing units are synchronized each time a loop ends. In a step S10, the value of an interval timer is read in as a timer value. In a step 8, the interval timer is preset. In a step 11, the timer value is transferred to the other processing unit. In a step 12, the minimum timer value is selected. In a step 13, the value obtained by subtracting the selected timer value from a comparison value is used as the 1st comparison value of a next loop. In an interruption processing routine, the comparison value is put back to the preset value (2 milliseconds) previously set in a step 9.</p> |