摘要 |
PURPOSE:To make unnecessary a counter circuit, by determining an output pulse width from the addition of number of interval timer interruption and each count value of execution time circulating program loop. CONSTITUTION:When an interruption (c) in period tt is produced from an interval timer periodically, the count value of an interval timer interrupting number counter is decided, and when it is equal to the count value indicating the period of output pulse, the counter is reset and the output pulse is made zero. When a counter value is a value counting ts, a soft timer counter is operated and an output is made to 1 when it reaches the ts. |