The Analog Comparator Controller configures the Analog Comparator, and generates an interrupt according to the user application's settings. The analog comparator embeds 8 to 1 multiplexers on both its plus and minus inputs.
The Analog Comparator compares two voltages, and the result of this comparison gives a compare output and an interrupt can be generated accordingly. The user application can select a high-speed or low-power option, the hysteresis level, edge detection, and polarity.
The ACC can also generate a comparison event that can be used by the Pulse Width Modulation (PWM) module.