Patent ID: 8046087

Claim:
An electronic controller for controlling power or a motor comprising: input means for fetching an external signal and performing an A-D conversion; a central processing unit (CPU) for executing operations according to a predetermined program upon receipt of A-D conversion results of said input means; output means for transferring data to outside said controller via a serial transmission path on the basis of operation results of said CPU; and timer means for individually setting process start timings of said input means and said output means not via said CPU; wherein said timer means comprising: a counter for incrementing the count in a predetermined clock cycle, clearing the count to 0 and repeats the increment again when the count matches with a control cycle of the electronic controller; a timing setting means for individually setting process start timings of said input means and said output means to the count of said counter; a process start command means for outputting process start commands to said input means and said output means respectively whenever the count matches with said process start timings, wherein the use of said timer means reduces a processing load on said CPU.