260
CHAPTER 12 A/D CONVERTER
12.1 Overview of A/D Converter
An A/D converter, which is of a 10-bit successive approximation type, selects an input
signal from eight channel analog inputs. The A/D converter can be activated with
software, an internal clock, or the output of an 8/16-bit capture timer/counter (16-bit
mode).
■ A/D Conversion Functions
These functions convert the analog voltage (input voltage) input from an analog input to 10-bit digital
values.
• An analog input can be selected from eight channels.
• The conversion speed is 38 instruction cycles (when the main clock oscillation frequency is 12.5 MHz,
the speed is 12.2 µs).
• When A/D conversion is completed, an interrupt occurs.
• Software can determine that the conversion has been completed.
To activate A/D conversion functions, follow one of the methods given below.
• Activation with a software program.
• Continuous activation through the output of a time-base timer (main clock oscillation frequency divided
by 2
8
).
• Continuous activation through the output of an 8/16-bit capture timer/counter (16-bit mode).