41 DAC - Digital-to-Analog Converter Module
The Digital-to-Analog Converter (DAC) supplies a variable voltage reference, ratiometric with the input source, with programmable selectable output levels.
The positive and negative input references (VREF+ and VREF-) can each be selected from several sources.
The output of the DAC (DACx_output) can be selected as a reference voltage to several other peripherals or routed to output pins.
The Digital-to-Analog Converter (DAC) is enabled by setting the EN bit.
Important: This family of devices has two DAC modules. The DAC1 module has a
buffered output that can be connected to any of the designated DAC output pins. The
DAC2 module has no output pins or buffer, and the output is only connected
internally to the CMP module.