130
User’s Manual U15104EJ2V0UD
CHAPTER 10 A/D CONVERTER
10.1 Functions of A/D Converter
The A/D converter converts analog inputs into digital values and consists of 6 channels (ANI0 to ANI5) with an
8-bit resolution.
The conversion method is based on successive approximation and the conversion result is held in 8-bit A/D
conversion result register 3 (ADCR3).
Conversion is started by setting A/D converter mode register 3.
Select one analog input channel from ANI0 to ANI5 and carry out A/D conversion.
When A/D conversion is complete, the next A/D conversion is started immediately. Each time an A/D conversion
operation ends, an interrupt request (INTAD3) is generated.
10.2 Configuration of A/D Converter
The A/D converter consists of the following hardware.
Table 10-1. Configuration of A/D Converter
Item
Configuration
Analog inputs
6 channels (ANI0 to ANI5)
Control registers
A/D converter mode register 3 (ADM3)
Analog input channel specification register 3 (ADS3)
Power-fail comparison mode register 3 (PFM3)
Registers
Successive approximation register (SAR)
A/D conversion result register 3 (ADCR3)
Power-fail comparison threshold value register 3 (PFT3)
Содержание mPD178053
Страница 2: ...2 User s Manual U15104EJ2V0UD MEMO ...