271
CHAPTER 14 A/D CONVERTER
1
512
1
256
3
512
2
256
5
512
3
256
507
512
254
256
509
512
255
256
511
512
1
255
254
253
3
2
1
0
A/D Conversion
Results
(ADCR)
Input Voltage/AV
REF0
14.4.2 Input voltage and conversion results
The relation between the analog input voltage input to the analog input pins (ANI0 to ANI7) and the A/D conversion
result (the value stored in A/D conversion result register (ADCR)) is shown by the following expression.
ADCR = INT (
×
256 + 0.5)
or
(ADCR – 0.5)
×
≤
V
IN
< (ADCR + 0.5)
×
Where,
INT( ) : Function which returns integer parts of value in parentheses.
V
IN
: Analog input voltage
AV
REF0
: AV
REF0
pin voltage
ADCR : Value of A/D conversion result register (ADCR)
Figure 14-6 shows the relation between the analog input voltage and the A/D conversion result.
Figure 14-6. Relationship Between Analog Input Voltage and A/D Conversion Result
V
IN
AV
REF0
AV
REF0
256
AV
REF0
256
Содержание PD78056F
Страница 2: ...2 MEMO ...
Страница 14: ...14 MEMO ...
Страница 34: ...34 MEMO ...
Страница 154: ...154 MEMO ...
Страница 170: ...170 MEMO ...
Страница 238: ...238 MEMO ...
Страница 278: ...278 MEMO ...
Страница 432: ...432 MEMO ...
Страница 476: ...476 MEMO ...
Страница 548: ...548 MEMO ...
Страница 564: ...564 MEMO ...
Страница 580: ...580 MEMO ...
Страница 584: ...584 MEMO ...
Страница 592: ...592 MEMO ...