XMEGA D3
24.3 Input Selection
24.4
The Analog comparators have a very flexible input selection and the two comparators grouped
in a pair may be used to realize a window function. One pair of analog comparators is shown in
Figure 24-1 on page 42.
• Input selection from pin
– Pin 0, 1, 2, 3, 4, 5, 6 selectable to positive input of analog comparator
– Pin 0, 1, 3, 5, 7 selectable to negative input of analog comparator
• Internal signals available on positive analog comparator inputs
• Internal signals available on negative analog comparator inputs
– 64-level scaler of the VCC, available on negative analog comparator input
– Bandgap voltage reference
Window Function
The window function is realized by connecting the external inputs of the two analog comparators
in a pair as shown in Figure 24-2.
Figure 24-2. Analog comparator window function
Upper limit of window
Input signal
+
AC0
-
Lower limit of window
+
AC1
-
Interrupt
sensitivity
control
Interrupts
Events
43
8134I–AVR–12/10