XMEGA D3
24. AC - Analog Comparator
24.1 Features
24.2 Overview
• Two Analog Comparators
• Selectable hysteresis
– No, Small or Large
• Analog Comparator output available on pin
• Flexible Input Selection
– All pins on the port
– Bandgap reference voltage.
– Voltage scaler that can perform a 64-level scaling of the internal VCC voltage.
• Interrupt and event generation on
– Rising edge
– Falling edge
– Toggle
• Window function interrupt and event generation on
– Signal above window
– Signal inside window
– Signal below window
XMEGA D3 features two Analog Comparators (AC). An Analog Comparator compares two volt-
ages, and the output indicates which input is largest. The Analog Comparator may be configured
to give interrupt requests and/or events upon several different combinations of input change.
Hysteresis can be adjusted in order to find the optimal operation for each application.
A wide range of input selection is available, both external pins and several internal signals can
be used.
The Analog Comparators are always grouped in pairs (AC0 and AC1) on each analog port. They
have identical behavior but separate control registers.
Optionally, the state of the comparator is directly available on a pin.
PORTA and has one AC pair. Notations of this peripheral is ACA.
41
8134I–AVR–12/10