![Xilinx Virtex-II Pro PPC405 User Manual Download Page 201](http://html1.mh-extra.com/html/xilinx/virtex-ii-pro-ppc405/virtex-ii-pro-ppc405_user-manual_3410279201.webp)
March 2002 Release
509
Virtex-II Pro™ Platform FPGA Documentation
1-800-255-7778
Interrupt Reference
R
External Interrupt (0x0500)
Interrupt Classification
•
Noncritical—return using the
rfi
instruction.
•
Asynchronous.
•
Precise.
Description
An external exception is caused by an external device (usually the external-interrupt
controller) asserting the noncritical-interrupt input signal to the processor.
This exception is persistent. To prevent repeated interrupts from occurring, the interrupt
handler must clear the exception status in the appropriate device control register (DCR)
associated with the external-interrupt controller before returning.
This interrupt is enabled using the external-interrupt enable bit (EE) in the MSR. When
MSR[EE]
=
1, the processor recognizes exceptions caused by asserting the noncritical-
interrupt input signal and forces an external interrupt to occur. When MSR[EE]
=
0, the
processor does not recognize the noncritical-interrupt input signal and external interrupts
cannot occur.
External interrupts are disabled when an external interrupt occurs. The external interrupt
handler should not re-enable MSR[EE] until it has cleared the exception and saved SRR0
and SRR1. Saving these registers avoids potential corruption of the interrupt handler
should an external interrupt, programmable-interval timer interrupt, or fixed-interval
timer interrupt occur.
Affected Registers
Register
Value After Interrupt
SRR0
Loaded with the effective address of the next-sequential instruction to be
executed at the point the interrupt occurs.
SRR1
Loaded with a copy of the MSR at the point the interrupt occurs.
SRR2
Not used.
SRR3
ESR
DEAR
MSR
[AP, APE, WE, EE, PR, FP, FE0, DWE, FE1, IR, DR]
←
0.
[CE, ME, DE]
←
Unchanged.