Datasheet

969
42023E–SAM–07/2013
ATSAM4L8/L4/L2
37. Analog Comparator Interface (ACIFC)
Rev: 1.0.0.0
37.1 Features
Controls an array of Analog Comparators
Low power option
Single shot mode support
Window mode
Detect inside/outside window
Detect above/below window
Interrupt
On comparator result rising edge, falling edge, toggle, comparison done
Inside window, outside window, toggle
When startup time is over
Peripheral events
Comparators triggered by incoming peripheral events
Configurable generated peripheral events
37.2 Overview
The Analog Comparator Interface (ACIFC) controls a number of Analog Comparators (AC) with
identical behavior. Each Analog Comparator compares two voltages and gives a compare out-
put depending on this comparison.
A specific AC is referred to as ACx where x is any number from 0 to n and n is the index of last
AC module (refer to the Module Configuration section at the end of this chapter for details).
The ACIFC can be configured in normal mode using each comparator independently or in win-
dow mode using defined comparator pairs (ACx and ACx
+1) to observe a window.
The number of Analog Comparators implemented is device specific. Refer to the Module Config-
uration section for details.