English
Language : 

SAM4L Datasheet, PDF (969/1185 Pages) ATMEL Corporation – ATSAM ARM-based Flash MCU
ATSAM4L4/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 VINP > VINN
– When VINP < VINN
– 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 VINP > VINN or
• When VINP < VINN
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.
42023C–SAM–02/2013
969