English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (421/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 10 12-BIT A/D CONVERTER (μ PD78F150xA),
10-BIT A/D CONVERTER (μ PD78F151xA)
10.4.2 Input voltage and conversion results
The relationship between the analog input voltage input to the analog input pins (ANI0 to ANI10, ANI15) and the
theoretical A/D conversion result (stored in the 12-bit A/D conversion result register (ADCR)) is shown by the following
expression.
VAIN
ADCR = INT (
× 4096 + 0.5)
AVREF
or
(ADCR − 0.5) × AVREF ≤ VAIN < (ADCR + 0.5) × AVREF
4096
4096
where, INT( ): Function which returns integer part of value in parentheses
VAIN: Analog input voltage
AVREF: Reference voltage of A/D converter
ADCR: 12-bit A/D conversion result register (ADCR) value
Remark 78K0R/LF3:
ANI0-ANI6, ANI15
78K0R/LG3, 78K0R/LH3: ANI0-ANI10, ANI15
Figure 10-16 shows the relationship between the analog input voltage and the A/D conversion result.
Figure 10-17. Relationship Between Analog Input Voltage and A/D Conversion Result
SAR
ADCR
4095
0FFFH
4094
A/D conversion
result
4093
3
0FFEH
0FFDH
0003H
2
0002H
1
0001H
0
113253
8192 4096 8192 4096 8192 4096
0000H
8187 4094 8189 4095 8191 1
8192 4096 8192 4096 8192
Input voltage/AVREF
R01UH0004EJ0501 Rev.5.01
405
Jun 20, 2011