Interrupt Controller
MPC5200B Users Guide, Rev. 1
Freescale Semiconductor 7-5
correct behavior, the e300 core always completes the core_int before treating the core_smi. In this case, the CPU does not authorize nested
interrupt at the exception if the ISR set the 603e’s MSR[EE] to support nested interrupt (core_smi and core_int).
In order to guaranty the assertion of the core_cint when a core_int is pending, the ISR needs to force the re-evaluation of the Peripheral
Interrupt condition by writing “1” to the Peripheral Status Encoded Pse msb. The ISR has to repeatedly set this bit since the interrupt events
are indeterministic. Moreover, the Peripheral Interrupt sources directed to core_cint needs to have their priorities to be higher than the LO_int
Peripheral Interrupt sources. The Interrupt Controller always activates first the pending interrupt having the highest priority. Like for the
Peripheral Interrupt Group, the ISR needs to set the Main Status Encoded MSe msb to force re-evaluation of the Main Interrupt Condition and
each Main Interrupt Priority needs to be properly programmed.
7.2.4 Interrupt Controller Registers
The Interrupt Controller uses 13 32-bit registers. These registers are located at an offset from MBAR of 0x0500. Register addresses are relative
to this offset. Therefore, the actual register address is: MBAR + 0x0500 + register address
Hyperlinks to the Interrupt Controller registers are provided below:

7.2.4.1 ICTL Peripheral Interrupt Mask Register—MBAR + 0x0500

ICTL Peripheral Interrupt Mask Register (0x0500) ICTL PerStat, MainStat, CritStat Encoded Register
(0x0524)
ICTL Peripheral Priority and HI/LO Select 1 Register
(0x0504)
ICTL Critical Interrupt Status All Register (0x0528)
ICTL Peripheral Priority and HI/LO Select 2 Register
(0x0508)
ICTL Main Interrupt Status All Register (0x052C)
ICTL Peripheral Priority and HI/LO Select 3 Register
(0x050C)
ICTL Peripheral Interrupt Status All Register (0x0530)
ICTL External Enable and External Types Register
(0x0510)
ICTL Bus Error Status Register (0x0538)
ICTL Critical Priority and Main Interrupt Mask
Register) (0x0514)
ICTL Main Interrupt Emulation All Register (0x0540)
ICTL Main Interrupt Priority and INT/SMI Select 1
Register (0x0518)
ICTL Peripheral Interrupt Emulation All Register
(0x0544)
ICTL Main Interrupt Priority and INT/SMI Select 2
Register (0x051C)
ICTL IRQ Interrupt Emulation All Register (0x0544)

Table7-4. ICTL Peripheral Interrupt Mask Register

msb 012345678 9 101112131415
R Per_mask
W
RESET:111111111 1 1 111 1 1
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 lsb
R Per_mask Reserved
W
RESET:111111110 0 0 000 0 0