UM0306 Interrupts and events
101/519
6.2 External interrupt/event controller (EXTI)
The external interrupt/event controller consists of up to 19 edge detectors for generating
event/interrupt requests. Each input line can be independently configured to select the type
(pulse or pending) and the corresponding trigger event (rising or falling or both). Each line
can also masked independently. A pending register maintains the status line of the interrupt
requests
6.2.1 Main features
The EXTI controller main features are the following:
● Independent trigger and mask on each interrupt/event line
● Dedicated status bit for each interrupt line
● Generation of up to 19 software event/interrupt requests
● Detection of external signal with pulse width lower than APB2 clock period. Refer to the
electrical characteristics section of the datasheet for details on this parameter.
6.2.2 Block diagram
The block diagram is shown in Figure 14.
Figure 14. External interrupt/event controller block diagram
TRIGGER
SELECTION
PERIPHERAL INTERFACE
MASK
REGISTER
EDGE DETECT
AMBA APB BUS
PCLK2
19
19 19
1919
CIRCUIT
PENDING
REGISTER
INTERRUPT
REQUEST
.
19
19
To NVIC Interrupt
SOFTWARE
Controller
TRIGGER
SELECTION
RISING FALLING
19
EVENT
MASK
PULSE
GENERATOR
19
19
19
19
Input
Line
INTERRUPT
REGISTER REGISTER
REGISTER
19
19
EVENT
REGISTER