Interrupt Controller Functional Overview
Copyright © 2002 Marvell
CONFIDENTIAL
Doc. No. MV-S300165-00, Rev. A
May 21, 2002, Preliminary
Document Classification: Proprietary Information
Page 85
the interrupt handler reads only the select cause register. The Select Cause register’s
Sel
bit [30] indicates which
of Low or High Cause registers are currently represented by the Select Cause register. At this stage, the interrupt
handler reads the unit level interrupt cause register and handles the interrupt source. Is also cleans the interrupt in
the unit level interrupt cause register.
explains the interrupt handling procedure.
Figure 38: Interrupt Handling Procedure
(GPP int) & (edge
trigger)
Interrupt
asserted
Read the
main
cause
registers
Read the
unit level
cause
registers
Clean
GPP
interrupt
cause
register
Handle
interrupt
source
Clean unit
interrupt
cause
register
Handle
interrupt
source
(Interrupt SUM in
main cause) == '1'
Exit
interrupt
handler
YES
NO
YES
NO