Datasheet
967
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
40. Analog Comparator Controller (ACC)
40.1 Description
The Analog Comparator Controller (ACC) configures the Analog Comparator and generates an interrupt according to the
user settings. The analog comparator embeds 8 to 1 multiplexers on both inputs.
The Analog Comparator compares two voltages and the result of this comparison gives a compare output. The user can
select a high-speed or low-power option. Additionally, the hysteresis level, edge detection and polarity are configurable.
The ACC can also generate a compare event which can be used by the PWM.
Refer to Figure 40-1 on page 967 for detailed schematics.
40.2 Embedded Characteristics
8 User Analog Inputs Selectable for Comparison
4 Voltage References Selectable for Comparison: Temperature Sensor, ADVREF, DAC0 and DAC1
Interrupt Generation
Compare Event Fault Generation for PWM
40.3 Block Diagram
Figure 40-1. Analog Comparator Controller Block Diagram
Mux
AD7
AD0
Mux
TS
AD3
ADVREF
DAC0
DAC1
AD0
+
-
inp
inn
Analog Comparator
isel
oncomp
hyst
bias
AND
AND
MCK
Synchro
+
Edge
Detect
ACC_MR, ACC_ACR
Change Detect
+Mask Timer
INVSELMINUSSELPLUS ACEN
EDGETYP
SCO
CE
MASK
SELFS
SCO
MCK
HYSTISEL
Interrupt Controller
FE
User Interface