Atmel SAM4L Xplained Pro Starter Kit Atmel ATSAM4L-XSTK ATSAM4L-XSTK Data Sheet

Product codes
ATSAM4L-XSTK
Page of 1204
974
42023E–SAM–07/2013
ATSAM4L8/L4/L2
• Startup time interrupt (bit ISR.SUTINTx), each AC can generate an interrupt when the 
startup time is over.
• AC output based interrupt (bit ISR.ACINTx). In normal mode, the following interrupt sources 
are available:
– When V
INP
 > V
INN
– When V
INP
 < V
INN
– On toggle of the AC output (ACOUT)
– When comparison has been done
The user selects the interrupt source by writing to the Interrupt Settings field in the ACx Configu-
ration Register (CONFx.IS). 
37.6.4.3
Normal Mode Peripheral Events
The ACIFC can generate peripheral events according to the configuration of CONFx.EVENN
and CONFx.EVENP.
• When V
INP
 > V
INN
 or 
• When V
INP
 < V
INN
37.6.5
Window Mode
Window mode is enabled by writing a one to the Window Mode Enable bit in the Window Config-
uration Register (CONFWx.WFEN). Two ACs, ACx and ACx
+1
, (an even and the following odd
build up a pair) are grouped if window mode is enabled by writing CONFWx.WFEN.
The sources of the negative input of ACx (even) and the positive input of ACx
+1
 (odd) must be
connected together externally. The Negative Input Select field in the ACx Configuration Register
(CONFx.INSELN) must select the corresponding external input pin (ACANx) as the source to the
negative input of ACx. The negative input of ACx+1 can still be selected independently by
CONFx+1.INSELN.