摘要 |
PROBLEM TO BE SOLVED: To provide a controller capable of instantaneously executing processing to be executed in response to the generation of a required interruption factor when the factor is generated and capable of executing processing other than the processing to be executed in response to the generation of the prescribed interruption factor at suitable frequency and timing. SOLUTION: A plural of processing components A to C required to be executed at a constant time interval are integrated in a main loop to be executed only by one cycle in each set of an interruption flag. In a timer interruption routine, processing for setting up the interruption flag is executed at each lapse of 1 msec. |