ST72F324L, ST72324BL
INTERRUPTS (Cont’d)
Table 8. Interrupt Mapping
N°
Source
Block
Description
Register
Label
Priority
Order
Exit
from
HALT
Exit
from
Active
HALT
Address
Vector
RESET
TRAP
Reset
Software interrupt
yes
N/A
no
0
Not used
1
MCC/RTC
Main clock controller time base inter-
rupt
MCCSR
Higher
no
Priority
2
ei0
External interrupt port A3..0
yes
3
ei1
External interrupt port F2..0
yes
N/A
4
ei2
External interrupt port B3..0
yes
5
ei3
External interrupt port B7..4
yes
6
Not used
7
SPI
SPI peripheral interrupts
SPICSR
yes
8 TIMER A TIMER A peripheral interrupts
TASR
no
9 TIMER B TIMER B peripheral interrupts
TBSR
no
10
SCI
SCI Peripheral interrupts
SCISR
Lower
Priority
no
yes
no
yes
yes1)
yes1)
yes1)
yes1)
yes1)
no
no
no
FFFEh-FFFFh
FFFCh-FFFDh
FFFAh-FFFBh
FFF8h-FFF9h
FFF6h-FFF7h
FFF4h-FFF5h
FFF2h-FFF3h
FFF0h-FFF1h
FFEEh-FFEFh
FFECh-FFEDh
FFEAh-FFEBh
FFE8h-FFE9h
FFE6h-FFE7h
Notes:
1. Valid for ROM devices. For Flash devices only a RESET or MCC/RTC interrupt can be used to wake-
up from Active Halt mode.
7.6 EXTERNAL INTERRUPTS
7.6.1 I/O Port Interrupt Sensitivity
The external interrupt sensitivity is controlled by
the IPA, IPB and ISxx bits of the EICR register
(Figure 17). This control allows to have up to 4 fully
independent external interrupt source sensitivities.
Each external interrupt source can be generated
on four (or five) different events on the pin:
■ Falling edge
■ Rising edge
■ Falling and rising edge
■ Falling edge and low level
■ Rising edge and high level (only for ei0 and ei2)
To guarantee correct functionality, the sensitivity
bits in the EICR register can be modified only
when the I1 and I0 bits of the CC register are both
set to 1 (level 3). This means that interrupts must
be disabled before changing sensitivity.
The pending interrupts are cleared by writing a dif-
ferent value in the ISx[1:0], IPA or IPB bits of the
EICR.
30/151
1