NEC V850E/MA1 User Manual page 412

32-bit single-chip microcontroller
Hide thumbs Also See for V850E/MA1:
Table of Contents

Advertisement

The relationship between the analog voltage input to the analog input pins (ANI0 to ANI7) and the A/D
conversion result (of the A/D conversion result register (ADCRn)) is as follows:
=
ADCR
INT
(
or,
(ADCR
0.5)
INT( ): Function that returns the integer of the value in ( )
V
:
Analog input voltage
IN
AV
: AV
REF
REF
ADCR: Value of A/D conversion result register (ADCRn)
Figure 12-2 shows the relationship between the analog input voltage and the A/D conversion results.
Figure 12-2. Relationship Between Analog Input Voltage and A/D Conversion Results
A/D conversion
results (ADCRn)
Remark n = 0 to 7
412
CHAPTER 12
V
IN
×
+
1,024
0.5)
AV
REF
AV
REF
×
<
+
V
(ADCR
0.5)
IN
1,024
pin voltage
1,023
1,022
1,021
3
2
1
0
1
1
3
2,048
1,024
2,048
User's Manual U14359EJ4V0UM
A/D CONVERTER
AV
REF
×
1,024
2
5
3
2,043
1,022
1,024
2,048
1,024
2,048
1,024
Input voltage/AV
REF
2,045
1,023
2,047
1
2,048
1,024
2,048

Advertisement

Table of Contents
loading

Table of Contents