microchip-pic-avr-examples/avr128db48-getting-started-with-opamp-mplab-mcc
These MPLAB X MCC examples in Getting Started with Analog Signal Conditioning (OPAMP) (TB3286), show how the OPAMP can be used on the AVR DB family of microcontrollers. The OPAMP peripheral features up to three internal operational amplifiers.
C