R01UH0092EJ0110 Rev.1.10
Page 649 of 807
Jul 31, 2012
M16C/64C Group
28. D/A Converter
28.3
Operations
D/A conversion is performed by writing a value to the DAi register (i = 0, 1).
Output analog voltage (V) is determined by the value n (n = decimal) set in the DAi register.
V = VREF ×
(n = 0 to 255)
VREF: Reference voltage
Figure 28.2 shows the D/A Converter Equivalent Circuit.
Figure 28.2
D/A Converter Equivalent Circuit
n
256
----------
VREF
(2)
AVSS
2R
R
2R
R
2R
R
2R
R
2R
R
2R
R
2R
R
2R
2R
bit in the
DACON register
1
0
MSB
LSB
r
i = 0, 1
Notes:
1. The above diagram assumes the DAi register is 2Ah.
2. VREF is not related to the ADSTBY bit in the ADCON1 register.
DAi register
DAi
DAiE
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...