GD32F403xx User Manual
225
1001: The bit width of the wave signal is 10
1010: The bit width of the wave signal is 11
≥1011: The bit width of the wave signal is 12
7:6
DWM0[1:0]
DAC0 noise wave mode
These bits specify the mode selection of the noise wave signal of DAC0 when
external trigger of DAC0 is enabled (DTEN0=1).
00: wave disabled
01: LFSR noise mode
1x: Triangle noise mode
5:3
DTSEL0[2:0]
DAC0 trigger selection
These bits select the external trigger of DAC0 when DTEN0=1.
000: TIMER5 TRGO
001: TIMER2 TRGO
010: TIMER6 TRGO
011: Reserved
100: Reserved
101: TIMER3 TRGO
110:
EXTI line 9
111: Software trigger
2
DTEN0
DAC0 trigger enable
0: DAC0 trigger disabled
1: DAC0 trigger enabled
1
DBOFF0
DAC0 output buffer turn off
0: DAC0 output buffer turns on to reduce the output impedance and improve the
driving capability
1: DAC0 output buffer turn s off
0
DEN0
DAC0 enable
0: DAC0 disabled
1: DAC0 enabled
13.4.2.
Software trigger register (DAC_SWT)
Address offset: 0x04
Reset value: 0x0000 0000
This register has to be accessed by word(32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
SWTR1 SWTR0