MOTOROLA
INTERRUPT CONTROLLER
MMC2001
10-2
REFERENCE MANUAL
In the MMC2001, interrupt requests to the CPU are always treated as autovectored.
The interrupt controller accomplishes this by asserting the CPU AVEC input along
with the appropriate interrupt request. An interrupt handler can read the NIPND or
FIPND register and then vector based on the value received.
The INTSRC register inputs at bit positions [0:2] are reserved for software generation
of interrupts and are always forced to a one. By enabling interrupts for these bit posi-
tions, software can force an interrupt request.
The interrupt requests are prioritized in the following sequence:
1. Fast interrupt requests
2. Normal interrupt requests
The two interrupt lines INT and FINT are mutually exclusive. If FINT is asserted while
INT is already asserted, INT is automatically negated.
10.2 Interrupt Controller Programming Model
Control and status registers for the interrupt controller begin at address 0x40002000.
10.2.1 Interrupt Source Register (INTSRC)
Access the 32-bit interrupt source register with 32-bit loads only.
Figure 10-1 Interrupt Source Register
Table 10-1 Interrupt Controller Address Map
Address
Use
Access
10000000
Interrupt Source Register (INTSRC)
Supervisor Only
10000004
Normal Interrupt Enable Register (NIER)
Supervisor Only
10000008
Fast Interrupt Enable Register (FIER)
Supervisor Only
1000000C
Normal Interrupt Pending Register (NIPND)
Supervisor Only
10000010
Fast Interrupt Pending Register (FIPND)
Supervisor Only
INTSRC — Interrupt Source Register
10000000
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
IN31
IN30
IN29
IN28
IN27
IN26
IN25
IN24
IN23
IN22
IN21
IN20
IN19
IN18
IN17
IN16
RESET:
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
IN15
IN14
IN13
IN12
IN11
IN10
IN9
IN8
IN7
IN6
IN5
IN4
IN3
1
1
1
RESET:
Freescale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..