Datasheet
1074
32117D–AVR-01/12
AT32UC3C
35. Analog Comparator Interface (ACIFA)
Rev: 1.0.0.1
35.1 Features
• Control one set of two analog comparators
• High speed option versus low power option
– shortest propagation delay/highest current consumption
– longest propagation delay/lowest current consumption
• Selectable input hysteresis:
– 0mV, 20mV, 50mV
• Input selection between external input pin and internal inputs
• Window function
• Interrupt on:
– Rising edge, Falling edge, toggle
– Signal above/below window, signal inside/outside window
– startup time
• Two Analog comparators interface events available on pin through PEVC
35.2 Overview
The Analog Comparator Interface (ACIFA) is able to control two Analog Comparators (AC) with
identical behavior. An Analog Comparator compares two voltages and gives a compare output
depending on this comparison.
The ACIFA can be configured in normal mode (see Figure 35-1 on page 1075) or in window
mode (see Figure 35-2 on page 1075 ).
The AC’s Inputs are programmable between internal inputs (DAC, voltage reference, ...) and
external input pins.
According to the comparison result, each comparator can trigger a separate interrupt in normal
mode. In window function, an additional interrupt can be triggered, depending if the voltage to be
compared is inside or outside the window.
The ACIFA is able to generate two output events that can be used through PEVC to trigger a
hardware process.