The ADC2 module features a guard ring circuit that supports the integrated hardware capacitive voltage divider. In applications where more accuracy is required, the guard ring circuit can be implemented to increase the accuracy of the external sensor to capacitive changes. High impedance sensors, like conductive pads that are implemented in many touch applications, can be more susceptible to external noise. The guard ring circuitry can be used to ground any noise from unexpected changes in the electromagnetic field that the capacitative sensor may be exposed to. Two digital guard ring outputs (ADGRDA/ADGRDB) and the associated voltage divider resistors in the circuit are used to drive the guard ring voltage. The guard ring polarity and precharge are controlled using the GPOL and IPEN bits of the ADC2 configuration registers. The two guard ring pins are configurable using Peripheral Pin Select (PPS). Refer to the device data sheet for more information regarding the timing and implementation of the guard ring circuit. Refer to ADC Module Setup for CVD Measurement, which shows how the guard ring circuit would be initialized and configured.