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 (DACxREF+ and DACxREF-) can each be selected from several sources.

The output of the DAC (DAC1OUT1) 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 one DAC module. The DAC1 module has a buffered output that can be connected to any of the designated DAC output pins. DAC1 is also connected internally to the ADC and CMP modules.
Figure 1. Digital-to-Analog Converter Block Diagram