Datasheet

2018 Microchip Technology Inc. Data Sheet Complete DS40002058A-page 61
ATxmega128A1U/ATxmega64A1U
Figure 31-1. Analog comparator overview.
The window function is realized by connecting the external inputs of the two analog comparators in a pair as shown in Fig-
ure 31-2.
Figure 31-2. Analog comparator window function.
ACnMUXCTRL
ACnCTRL
Interrupt
Mode
Enable
Enable
Hysteresis
Hysteresis
AC1OUT
WINCTRL
Interrupt
Sensititivity
Control
&
Window
Function
Events
Interrupts
AC0OUT
Pin Input
Pin Input
Pin Input
Pin Input
Voltage
Scaler
DAC
Bandgap
+
-
+
-
AC0
+
-
AC1
+
-
Input signal
Upper limit of window
Lower limit of window
Interrupt
sensitivity
control
Interrupts
Events