Chapter 12 A/D Converter; Functions Of A/D Converter - NEC 78K0/KD1 Series User Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

12.1 Functions of A/D Converter

The A/D converter converts an analog input signal into a digital value, and consists of up to eight channels (ANI0 to
ANI7) with a resolution of 10 bits.
The A/D converter has the following two functions.
(1) 10-bit resolution A/D conversion
10-bit resolution A/D conversion is carried out repeatedly for one channel selected from analog inputs ANI0 to
ANI7. Each time an A/D conversion operation ends, an interrupt request (INTAD) is generated.
(2) Power-fail detection function
This function is used to detect a voltage drop in a battery. The A/D conversion result (ADCR register value) and
power-fail comparison threshold register (PFT) value are compared.
comparative condition has been matched.
ANI0/P20
ANI1/P21
ANI2/P22
ANI3/P23
ANI4/P24
ANI5/P25
ANI6/P26
ANI7/P27
3
ADS1 ADS0
ADS2
Analog input channel
specification register
(ADS)
224

CHAPTER 12 A/D CONVERTER

Figure 12-1. Block Diagram of A/D Converter
Sample & hold circuit
Controller
ADCS
FR2
FR1
A/D converter mode
register (ADM)
Internal bus
Preliminary User's Manual U16315EJ1V0UD
INTAD is generated only when a
Series resistor string
Voltage comparator
Successive
approximation
register (SAR)
A/D conversion result
register (ADCR)
ADCE
FR0
AV
REF
(Can be used as
analog power supply)
AV
SS
INTAD

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents