摘要 |
PURPOSE:To reduce the burden of a CPU processing and to improve speed for an average value calculation processing by providing a circuit to sample only the set number of data having the length of plural bits from a peripheral circuit, to calculate the average value and to output it to a central operation processor. CONSTITUTION:A simplified average value calculation circuit 6 is provided to sample only the set number of data having the length of plural bits from a peripheral circuit 5, to calculate the average value and to output it to a CPU 1. Namely, this microcomputer is equipped with the CPU 1, address bus 2, data bus 3, input / output device 4 and peripheral circuit 6 and adds the simplified average value calculation circuit 6 to them. Thus, the burden of the CPU processing can be reduced and the speed for the average value calculation processing can be improved. |