English
Language : 

UPD78F9500MA-CAC-A Datasheet, PDF (170/342 Pages) Renesas Technology Corp – 8-Bit Single-Chip Microcontrollers
CHAPTER 9 A/D CONVERTER (μPD78F920x ONLY)
9.4.2 Input voltage and conversion results
The relationship between the analog input voltage input to the analog input pins (ANI0 to ANI3) and the theoretical
A/D conversion result (stored in the 10-bit A/D conversion result register (ADCR)) is shown by the following
expression.
VAIN
ADCR = INT (
× 1024 + 0.5)
VDD
or
(ADCR − 0.5) × VDD ≤ VAIN < (ADCR + 0.5) × VDD
1024
1024
where, INT( ): Function which returns integer part of value in parentheses
VAIN: Analog input voltage
VDD: VDD pin voltage
ADCR: 10-bit A/D conversion result register (ADCR) value
Figure 9-11 shows the relationship between the analog input voltage and the A/D conversion result.
Figure 9-11. Relationship Between Analog Input Voltage and A/D Conversion Result
SAR
ADCR
1023
03FFH
1022
03FEH
A/D conversion result
1021
3
03FDH
0003H
2
0002H
1
0001H
0
113253
2048 1024 2048 1024 2048 1024
0000H
2043 1022 2045 1023 2047 1
2048 1024 2048 1024 2048
Input voltage/VDD
168
User’s Manual U18172EJ3V0UD