![](http://datasheet.mmic.net.cn/Silicon-Laboratories-Inc/C8051F123_datasheet_96648/C8051F123_36.png)
C8051F120/1/2/3/4/5/6/7
C8051F130/1/2/3
36
Rev. 1.4
1.10. 12-bit Digital to Analog Converters
The C8051F12x devices have two integrated 12-bit Digital to Analog Converters (DACs). The MCU data
and control interface to each DAC is via the Special Function Registers. The MCU can place either or both
of the DACs in a low power shutdown mode.
The DACs are voltage output mode and include a flexible output scheduling mechanism. This scheduling
mechanism allows DAC output updates to be forced by a software write or scheduled on a Timer 2, 3, or 4
overflow. The DAC voltage reference is supplied from the dedicated VREFD input pin on the 100-pin TQFP
devices or via the internal Voltage reference on the 64-pin TQFP devices. The DACs are especially useful
as references for the comparators or offsets for the differential inputs of the ADCs.
Figure 1.15. DAC System Block Diagram
DAC0
AV+
12
AGND
8
REF
DAC0
DAC
0
CN
DAC0EN
DAC0MD1
DAC0MD0
DAC0DF2
DAC0DF1
DAC0DF0
DA
C0H
DA
C0L
Di
g
.MU
X
La
tch
Lat
ch
8
DAC1
AV+
12
AGND
8
REF
DAC1
D
A
C1CN
DAC1EN
DAC1MD1
DAC1MD0
DAC1DF2
DAC1DF1
DAC1DF0
DAC1H
DAC1
L
Di
g
.M
U
X
La
tch
Latch
8
DA
C0H
Timer
3
Timer
4
Timer
2
DA
C1H
Ti
m
e
r3
Ti
m
e
r4
Ti
m
e
r2