259
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Bit field
Name
Description
0: Disable the DAC2 output buffer;
1: Enable the DAC2 output buffer.
16
CH2EN
DAC2 on
This bit is set to 1 and cleared by the software to enable/disable the DAC2.
0: Disable the DAC2;
1: Enable the DAC2.
15:13
Reserved
Reserved, the reset value must be maintained.
12
DMA1EN
The DMA function of the DAC1 is enabled
The bit is set to 1 and cleared by the software.
0: Disable DMA for the DAC1;
1: Enable DMA for the DAC1.
11:8
MA1SEL[3:0]
DAC1 shield/amplitude selector.
These bits are configured by software to set the LFSR shielding bits for the noise
function and the amplitude of the triangular wave.
0000: unmasked LFSR bit 0 / triangular amplitude equals 1;
0001: unmasked LFSR LFSR bit [1:0] / triangular amplitude equal 3;
0010: unmasked LFSR bit [2:0] / triangular amplitude equals 7;
0011: unmasked LFSR bit [3:0] / triangular amplitude equals 15;
0100: unmasked LFSR bit [4:0] / triangular amplitude equals 31;
0101: unmasked LFSR bit [5:0] / triangular amplitude equals 63;
0110: unmasked LFSR bit [6:0] / triangular amplitude equals 127;
0111: unmasked LFSR bit [7:0] / triangular amplitude equals 255;
1000: unmasked LFSR bit [8:0] / triangular amplitude equals 511;
1001: unmasked LFSR bit [9:0] / triangular amplitude equals 1023;
1010: unmasked LFSR bit [10:0] / triangular amplitude equals 2047;
≥1011: unmasked LFSR bit [11:0] / triangular amplitude equal 4095.
7:6
W1EN[1:0]
DAC1 noise/triangle wave function selection.
The bits are set to 1 and cleared by the software.
00: Disable noise and triangle wave;
01: Enable the noise function;
1x: Enable the triangle wave function.
5:3
T1SEL[2:0]
DAC1 triggers selection.
This bit is used for selection of DAC1 external triggers.
000: TIM6 TRGO event;
001: TIM8 TRGO event;
010: TIM7 TRGO event;
011: TIM5 TRGO event;
100: TIM2 TRGO event;
101: TIM4 TRGO event;
110: External interrupt line 9;
111: Software trigger.
2
T1EN
DAC1 trigger on