Datasheet

78K0/Ix2 CHAPTER 11 A/D CONVERTER
R01UH0010EJ0500 Rev.5.00 388
Feb 28, 2012
11.4.3 Input voltage and conversion results
The relationship between the analog input voltage input to the analog input pins (ANI0 to ANI8) 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/IY2: ANI0, ANI1, ANI3 to ANI5
78K0/IA2: ANI0 to ANI5
78K0/IB2: ANI0 to ANI8
V
AIN
AV
REF
AVREF
1024
AVREF
1024