GD32F10x User Manual
235
Figure 12-1. DAC block diagram
SWTRx
TIMER5_TRG O
TIMER1_TRG O
T
ri
g
g
e
r
s
e
le
c
to
rx
DAC control register
DTSELx[2:0]
D
M
A
r
e
q
u
e
s
tx
D
T
E
N
x
DHx
12-bit
DOx
12-bit
DAC
Control
logic
V
D
D
A
V
S
S
A
DBOFFx
Buff
M
U
X
2
X
1
D
D
M
A
E
N
x
DAC_OUTx
12-bit
EXTI9
TIMER7_TRG O
TIMER3_TRG O
V
R
E
F
+
TIMER6_TRG O
TIMER4_TRG O
D
W
B
W
x
[3
:0
]
D
W
M
x
[1
:0
]
Note:
The TIMER7_TRGO trigger is replaced by TIMER2_TRGO ,In connectivity line devices.
Table 12-1. DAC pins
Name
Description
Signal type
V
DDA
Analog power supply
Power
V
SSA
Ground for analog power supply
Power
V
REF+
reference voltage
Analog input
DACx_OUT
DACx analog output
Analog output
The GPIO pins (PA4 for DAC0, PA5 for DAC1) should be configured to analog mode before
enable the DAC module.
12.3.
Function overview
12.3.1.
DAC enable
The DACs can be powered on by setting the DENx bit in the DAC_CTL register. t
WAKEUP
time
is needed to startup the analog DAC submodule.
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...