![ARTERY AT32F435 Series Reference Manual Download Page 393](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592393.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 393
Rev 2.03
0100: Unmask LSFR bit[4: 0]/Triangle amplitude is equal
to 31
0101: Unmask LSFR bit[5: 0]/Triangle amplitude is equal
to 63
0110: Unmask LSFR bit[6: 0]/Triangle amplitude is equal
to 127
0111: Unmask LSFR bit[7: 0]/Triangle amplitude is equal
to 255
1000: Unmask LSFR bit[8: 0]/Triangle amplitude is equal
to 511
1001: Unmask LSFR bit[9: 0]/Triangle amplitude is equal
to 1023
1010: Unmask LSFR bit[10: 0]/Triangle amplitude is
equal to 2047
≥1011: Unmask LSFR bit[11:0]/Triangle amplitude is
equal to 4095
Bit 7: 6
D1NM
0x0
rw
DAC1 noise mode
00: Wave generation disabled
01: Noise wave generation enabled
1x: Triangular wave generation enabled
Bit 5: 3
D1TRGSEL
0x0
rw
DAC1 trigger select
000: TMR6 TRGOUT event
001: TMR8 TRGOUT event
010: TMR7 TRGOUT event
011: TMR5 TRGOUT event
100: TMR2 TRGOUT event
101: TMR4 TRGOUT event
110: External interrupt line 9
111: Software trigger
Note: These bits can be valid only when D1TRGEN = 1.
Bit 2
D1TRGEN
0x0
rw
DAC1 trigger enable
0: DAC1 trigger disabled
1: DAC1 trigger enabled
Note:
When the DAC1 trigger is disabled, the data written into
the DAC_D1DTHx register is transferred into the
DAC_D1ODT register after one APB1 clock cycle.
When the DAC1 trigger is enabled, the data written into the
DAC_D1DTHx register is transferred into the DAC_
D1ODT register after three APB1 clock cycles
If the software trigger is selected, it takes one APB1 clock
cycle to have the data written into the DAC_D1DTHx
register transferred into the DAC_ D1ODT register.
Bit 1
D1OBDIS
0x0
rw
DAC1 output buffer disable
0: DAC1 output buffer enabled
1: DAC1 output buffer disabled
Bit 0
D1EN
0x0
rw
DAC1 enable
0: DAC1 disabled
1: DAC1 enabled
19.5.2 DAC software trigger register (DAC_SWTRG)
Bit
Register
Reset value
Type
Description
Bit 31: 2
Reserved
0x0000 0000 resd
Kept at its default value
Bit 1
D2SWTRG
0x0
rw
DAC2 software trigger
0: DAC2 software trigger disabled
1: DAC2 software trigger enabled
Note: This bit is cleared by hardware (one APB1 clock
cycle later) once the DAC_D2DTH data is loaded into the
DAC_D2ODT register.
Bit 0
D1SWTRG
0x0
rw
DAC1 software trigger
0: DAC1 software trigger disabled
1: DAC1 software trigger enabled
Note: This bit is cleared by hardware (one APB1 clock
cycle later) once the DAC_D1DTH data is loaded into the