摘要 |
PURPOSE: To rapidly process the output of a temperature output sensor by a CPU by controlling the digital conversion of an analog signal by a controller, and inhibiting the relative operation of the CPU. CONSTITUTION: Since an A-D converter 5 can process only one analog signal, next data signal is reserved by a multiplexer 6 until a controller 10 finishes the digital conversion, and a sample and hold circuit 11 is controlled to a closed state. When the digital conversion is finished, the temperature sensor output after the conversion is sequentially written in the one memory of a dual-port memory 7. At the time of finishing the writing, an interrupt signal is output from the controller 10 to a CPU 9, the writing the sensor output in the memory is switched to the other memory, and the output is continuously written by the converter 5. The CPU 9 reads the memory in which the writing is already finished, and the CPU 9 can rapidly process the output separately independently from the writing of the converter 5. |