www.DataSheet4U.com
CHAPTER 14 A/D CONVERTER
256
14.4.2 Input voltage and conversion results
The relationship between the analog input voltage input to the analog input pins (ANI0 to ANI7) and the A/D
conversion result (the value stored in the A/D conversion result register (ADCR)) is expressed by the following
expression.
V
IN
ADCR = INT(
×
256 + 0.5)
AV
REF
or
AV
REF
AV
REF
(ADCR – 0.5)
×
≤
V
IN
< (ADCR + 0.5)
×
256
256
where
INT ( ) : Function which returns integer parts of value in parentheses.
V
IN
: Analog input voltage
AV
REF
: AV
REF
pin voltage
ADCR
: A/D conversion result register (ADCR) value
Figure 14-5 shows the relationship between the analog input voltage and the A/D conversion result.
Figure 14-5. Relationship between Analog Input Voltage and A/D Conversion Result
255
254
253
3
2
1
0
A/D Conversion
Results (ADCR)
1
512
1
256
3
512
2
256
5
512
3
256
507
512
254
256
509
512
255
256
511
512
1
Input Voltage/AV
REF
Содержание 78014Y Series
Страница 2: ...www DataSheet4U com 2 MEMO...
Страница 8: ...www DataSheet4U com 8 MEMO...
Страница 22: ...www DataSheet4U com 22 MEMO...
Страница 30: ...www DataSheet4U com 30 MEMO...
Страница 34: ...www DataSheet4U com 34 MEMO...
Страница 62: ...www DataSheet4U com CHAPTER 2 OUTLINE PD78014Y Subseries 62 MEMO...
Страница 78: ...www DataSheet4U com CHAPTER 3 PIN FUNCTION PD78014 Subseries 78 MEMO...
Страница 94: ...www DataSheet4U com CHAPTER 4 PIN FUNCTION PD78014Y Subseries 94 MEMO...
Страница 170: ...www DataSheet4U com CHAPTER 7 CLOCK GENERATOR 170 MEMO...
Страница 222: ...www DataSheet4U com CHAPTER 9 8 BIT TIMER EVENT COUNTER 222 MEMO...
Страница 230: ...www DataSheet4U com CHAPTER 10 WATCH TIMER 230 MEMO...
Страница 262: ...www DataSheet4U com CHAPTER 14 A D CONVERTER 262 MEMO...
Страница 318: ...www DataSheet4U com CHAPTER 15 SERIAL INTERFACE CHANNEL 0 PD78014 Subseries 318 MEMO...
Страница 408: ...www DataSheet4U com CHAPTER 16 SERIAL INTERFACE CHANNEL 0 PD78014Y Subseries 408 MEMO...
Страница 446: ...www DataSheet4U com CHAPTER 17 SERIAL INTERFACE CHANNEL 1 446 MEMO...
Страница 472: ...www DataSheet4U com CHAPTER 18 INTERRUPT FUNCTIONS AND TEST FUNCTION 472 MEMO...
Страница 502: ...www DataSheet4U com CHAPTER 22 PD78P014 78P014Y 502 MEMO...
Страница 520: ...www DataSheet4U com CHAPTER 23 INSTRUCTION SET 520 MEMO...