6 Conclusion
The DAC module of the 8-bit PIC microcontrollers offers flexible input source selection, provision of routing DAC output to other peripherals, such as analog comparator and ADC, and configurable register sets. This technical brief offers an overview of the DAC module and its various functional configurations. It also describes how MCC can be used to generate DAC peripheral configuration codes. For code examples visit MPLAB Xpress code Examples.