Datasheet

78K0/Kx2-L CHAPTER 12 A/D CONVERTER
R01UH0028EJ0400 Rev.4.00 424
Sep 27, 2010
12.4.2 Input voltage and conversion results
The relationship between the analog input voltage input to the analog input pins (ANI0 to ANI10) and the theoretical
A/D conversion result (stored in the 10-bit A/D conversion result register (ADCR)) is shown by the following expression.
ADCR = INT ( × 1024 + 0.5)
or
(ADCR 0.5) × V
AIN < (ADCR + 0.5) ×
where, INT( ): Function which returns integer part of value in parentheses
V
AIN: Analog input voltage
AVREF: AVREF pin voltage
ADCR: 10-bit A/D conversion result register (ADCR) value
Remark A/D converter analog input pins differ depending on products.
78K0/KY2-L: ANI0 to ANI3
78K0/KA2-L (20-pin products): ANI0 to ANI5
78K0/KA2-L (25-pin products): ANI0 to ANI6
78K0/KA2-L (32-pin products): ANI0 to ANI10
78K0/KB2-L: ANI0 to ANI3, ANI8 to ANI10
78K0/KC2-L (40-pin product): ANI0 to ANI6, ANI8 to ANI10
78K0/KC2-L (44-pin and 48-pin products): ANI0 to ANI10
V
AIN
AV
REF
AVREF
1024
AVREF
1024
<R>