GD32VF103 User Manual
194
00: wave disabled
01: LFSR noise mode
1x: Triangle noise mode
21:19
DTSEL1[2:0]
DAC1 trigger selection
These bits select the external trigger of DAC1 when DTEN1=1.
000: Timer 5 TRGO
001: Timer 2 TRGO
010: Timer 6 TRGO
011: Timer 4 TRGO
100: Timer 1 TRGO
101: Timer 3 TRGO
110: EXTI line 9
111: Software trigger
18
DTEN1
DAC1 trigger enable
0: DAC1 trigger disabled
1: DAC1 trigger enabled
17
DBOFF1
DAC1 output buffer turn off
0: DAC1 output buffer turns on
to reduce the output impedance and improve the
driving capability
1: DAC1 output buffer turn off
16
DEN1
DAC1 enable
0: DAC1 disabled
1: DAC1 enabled
15:13
Reserved
Must be kept at reset value
12
DDMAEN0
DAC0 DMA enable
0: DAC0 DMA mode disabled
1: DAC0 DMA mode enabled
11:8
DWBW0[3:0]
DAC0 noise wave bit width
These bits specify bit width of the noise wave signal of DAC0. These bits indicate
that unmask LFSR bit [n-1, 0] in LFSR noise mode or the amplitude of the triangle
is ((2<<(n-1))-1) in triangle noise mode, where n is the bit width of wave.
0000: The bit width of the wave signal is 1
0001: The bit width of the wave signal is 2
0010: The bit width of the wave signal is 3
0011: The bit width of the wave signal is 4
0100: The bit width of the wave signal is 5
0101: The bit width of the wave signal is 6
0110: The bit width of the wave signal is 7
0111: The bit width of the wave signal is 8
1000: The bit width of the wave signal is 9