![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 636](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630636.webp)
www.geehy.com Page 635
Digital-to-analog converter (DAC)
Full name and abbreviation description of terms
Table 160 Full Name and Abbreviation Description of DAC Terms
Full name in English
English abbreviation
Linear Feedback Shift Register
LFSR
Introduction
DAC is a digital/analog converter that can be configured to input 8-bit or 12-bit
data and output voltage. When 12-bit data is input, the data can be set to be left
aligned or right aligned. It has two-way DAC output channels, which do not
affect each other; each channel has multiple trigger sources to trigger
conversion; a single channel can trigger conversion output, or both channels
can trigger conversion output at the same time. Both channels can generate
noise waveform and triangle waveform independently.
Structure block diagram
Figure 128 DAC Structure Block Diagram
TRGSELCHx
Timer trigger
External
interrupt line
trigger
DAC control register
DATAOCHx
DAC converter
DHx
12
bits
12
bits
12
bits
Control
logic
V
DDA
V
SSA
V
REF
DAC_DATAOCHx
Software trigger
DMA request
WAVENCH1
MAMPSELx
DMAENCHx
Functional description
DAC conversion and trigger source
DAC output can obtain corresponding voltage value by calculating the data in
DAC_DATAOCHx register. However, it is impossible to write data directly to
DAC_DATAOCHx register, and it is required to write to DAC_DHx register and
then through corresponding trigger, load the data in DAC_DHx to