
RM0008
9.2.1
Main features
The EXTI controller main features are the following:
Interrupts and events
●
●
●
●
Independent trigger and mask on each interrupt/event line
Dedicated status bit for each interrupt line
Generation of up to 20 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.
9.2.2
Block diagram
Figure 20. External interrupt/event controller block diagram
AMBA APB bus
PCLK2
Peripheral interface
20
Interrupt
mask
register
20
Pending
request
register
20
Software
interrupt
event
register
20
Rising
trigger
selection
register
20
Falling
trigger
selection
register
To NVIC Interrupt
Controller
20
20
20
20
20
20
20
Pulse
generator
20
20
Edge detect
circuit
Input
Line
Event
mask
register
ai15801
9.2.3
Wakeup event management
The STM32F10xxx is able to handle external or internal events in order to wake up the core
(WFE). The wakeup event can be generated either by:
●
●
enabling an interrupt in the peripheral control register but not in the NVIC, and enabling
the SEVONPEND bit in the Cortex-M3 System Control register. When the MCU
resumes from WFE, the peripheral interrupt pending bit and the peripheral NVIC IRQ
channel pending bit (in the NVIC interrupt clear pending register) have to be cleared.
or configuring an external or internal EXTI line in event mode. When the CPU resumes
from WFE, it is not necessary to clear the peripheral interrupt pending bit or the NVIC
IRQ channel pending bit as the pending bit corresponding to the event line is not set.
Doc ID 13902 Rev 9
175/995