Table 14-1: Assignment Of A/D Conversion Result Registers To Analog Input Pins - NEC V850E/PH2 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

The correspondence between each analog input pin and the ADCRnm register is shown in Table 14-1
below.

Table 14-1: Assignment of A/D Conversion Result Registers to Analog Input Pins

Analog Input Pin
The relationship between the analog voltage input to the analog input pins (ANIn0 to ANIn9) and the
A/D conversion result (of the A/D conversion result register (ADCRnm)) is as follows:
or,
INT( ): Function that returns the integer value
V
:
Analog input voltage
IN
AV
: AV
pin voltage
REF
REF
ADCR: Value of A/D conversion result register (ADCRnm)
Figure 14-7 shows the relationship between the analog input voltage and the A/D conversion results.
Remark:
n = 0, 1
m = 0 to 9
582
Chapter 14 A/D Converter
Assignment of A/D Conversion Result Registers
Select 1 Buffer Mode/
Scan Mode
ANIn0
ADCRn0, ADCRn0H
ANIn1
ADCRn1, ADCRn1H
ANIn2
ADCRn2, ADCRn2H
ANIn3
ADCRn3, ADCRn3H
ANIn4
ADCRn4, ADCRn4H
ANIn5
ADCRn5, ADCRn5H
ANIn6
ADCRn6, ADCRn6H
ANIn7
ADCRn7, ADCRn7H
ANIn8
ADCRn8, ADCRn8H
ANIn9
ADCRn9, ADCRn9H
ADCR
=
INT
AV
REF
(
)
×
------------------
ADCR 0,5
1024
User's Manual U16580EE3V1UD00
Select 4 Buffer Mode
ADCRn0 to ADCRn3,
ADCRn0H to ADCRn3H
ADCRn4 to ADCRn7,
ADCRn4H to ADCRn7H
ADCRn8 to ADCRn9,
ADCRn8H to ADCRn9H
V
IN
×
------------------
1024
+
0,5
AV
REF
<
(
V
ADCR
+
0,5
IN
AV
REF
)
×
------------------
1024

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mupd70f3187

Table of Contents