22.1 OverviewThe Analog Comparator compares the input values on the positive pin AIN0 and negative pinAIN1. When the voltage on the positive pin AIN0 is higher than the voltage on the negative pinAIN1, the Analog Comparator output, ACO, is set. The comparator's output can be set to triggerthe Timer/Counter1 Input Capture function. In addition, the comparator can trigger a separateinterrupt, exclusive to the Analog Comparator. The user can select Interrupt triggering on comparatoroutput rise, fall or toggle.