400
8331B–AVR–03/12
Atmel AVR XMEGA AU
(falling edge). Events are generated at all times for the same condition as the interrupt, regard-
less of whether the interrupt is enabled or not.
30.6
Window Mode
Two analog comparators on the same port can be configured to work together in window mode.
In this mode, a voltage range is defined, and the analog comparators give information about
whether an input signal is within this range or not.
Figure 30-2.
The Analog comparators in window mode.
30.7
Input Hysteresis
Application software can select between no-, low-, and high hysteresis
for the comparison
.
Applying a hysteresis will help prevent constant toggling of the output
that can be caused by
noise when
the input signals are close to each other.
30.8
Propagation Delay vs. Power Consumption
It is possible to enable a high-speed mode to get the shortest possible propagation delay. This
mode consumes more power than the default low-power mode, which has a
correspondingly
longer propagation delay.
AC0
+
-
AC1
+
-
Input signal
Upper limit of window
Lower limit of window
Interrupt
sensitivity
control
Interrupts
Events