Atmel SAM4L Xplained Pro Evaluation Kit Atmel ATSAM4L-XPRO ATSAM4L-XPRO Data Sheet

Product codes
ATSAM4L-XPRO
Page of 1204
501
42023E–SAM–07/2013
ATSAM4L8/L4/L2
21. External Interrupt Controller (EIC)
Rev: 3.0.2.0
21.1
Features
Dedicated interrupt request for each interrupt
Individually maskable interrupts
Interrupt on rising or falling edge
Interrupt on high or low level
Asynchronous interrupts for sleep modes without clock
Filtering of interrupt lines
Non-Maskable NMI interrupt
21.2
Overview
The External Interrupt Controller (EIC) allows pins to be configured as external interrupts. Each
external interrupt has its own interrupt request and can be individually masked. Each external
interrupt can generate an interrupt on rising or falling edge, or high or low level. Every interrupt
input has a configurable filter to remove spikes from the interrupt source. Every interrupt pin can
also be configured to be asynchronous in order to wake up the part from sleep modes where the
CLK_SYNC clock has been disabled.
A Non-Maskable Interrupt (NMI) is also supported. This has the same properties as the other
external interrupts, but is connected to the NMI request of the CPU, enabling it to interrupt any
other interrupt mode.
21.3
Block Diagram
Figure 21-1. EIC Block Diagram
E d g e /L e v e l 
D e te c to r
M a s k
IR Q n
E X T IN T n
N M I
IN T n
L E V E L
M O D E
E D G E
IE R
ID R
IC R
C T R L
IS R
IM R
F ilte r
F IL T E R
P o la rity  
c o n tro l
L E V E L
M O D E
E D G E
A s y n c h ro n u s  
d e te c to r
E IC _ W A K E
E n a b le
E N
D IS
C T R L
C L K _ S Y N C
W a k e  
d e te c t
A S Y N C