
Interrupt Interface
MOTOROLA
System Integration Module
9-11
9.4.2
SECONDARY INTERRUPT CONTROLLER REGISTERS
A second interrupt controller was added to the MCF5249. The secondary controller serves 64 interrupt
sources with programmable interrupt levels. All 64 interrupts are auto-vectored. Interrupt pending registers
and interrupt mask registers are decentralized, and available in the modules that own the interrupts.
9.4.2.1
Interrupt Level Selection
The interrupt level, intpri[1:8], of the 64 interrupts serviced by the secondary interrupt controller can be
programmed for every interrupt separately. Every interrupt is given a 4-bit field in one of the interrupt
priority register. This 4-bit field controls level setting for the interrupt. Values 1-7 correspond with ColdFire
interrupt priorities. Value 0 is off.
Table 9-17 Secondary Interrupt Controller Registers Memory Map
ADDRESS
NAME
WIDTH
DESCRIPTION
RESET VALUE ACCESS
MBAR2 + $140
INTPRI1
32
Interrupts 0-7 priority
$00
R/W
MBAR2 + $144
INTPRI2
32
Interrupts 8-15 priority
$00
R/W
MBAR2 + $148
INTPRI3
32
Interrupts 16-23 priority
$00
R/W
MBAR2 + $14C
INTPRI4
32
Interrupts 24-31 priority
$00
R/W
MBAR2 + $150
INTPRI5
32
Interrupts 32-39 priority
$00
R/W
MBAR2 + $154
INTPRI6
32
Interrupts 40-47 priority
$00
R/W
MBAR2 + $158
INTPRI7
32
Interrupts 48-55 priority
$00
R/W
MBAR2 + $15C
INTPRI8
32
Interrupts 56-63 priority
$00
R/W
MBAR2 + $16B
INTBASE
8
Interrupt base vector
$00
R/W
MBAR2 + $167
SPURVEC
8
spurious vector
$00
R/W
Table 9-18 Secondary Interrupt Level Programming Bit Assignment
ADDRESS
NAME
BIT
31-28
BIT
27-24
BIT
23-20
BIT
19-16
BIT
15-12
BIT
11-8
BIT
7-4
BIT
3-0
MBAR2 + $140
INTPRI1
INT7INT6INT5INT4INT3INT2INT1INT0
MBAR2 + $144
INTPRI2
INT15
INT14
INT13
INT12
INT11
INT10
INT9
INT8
MBAR2 + $148
INTPRI3
INT23
INT22
INT21
INT20
INT19
INT18
INT17
INT16
MBAR2 + $14C
INTPRI4
INT31
INT30
INT29
INT28
INT27
INT26
INT25
INT24
MBAR2 + $150
INTPRI5
INT39
INT38
INT37
INT36
INT35
INT34
INT33
INT32
MBAR2 + $154
INTPRI6
INT47
INT46
INT45
INT44
INT43
INT42
INT41
INT40
MBAR2 + $158
INTPRI7
INT55
INT54
INT53
INT52
INT51
INT50
INT49
INT48
MBAR2 + $15C
INTPRI8
INT63
INT62
INT61
INT60
INT59
INT58
INT57
INT56
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.