Operation Theorem
•
23
The two IRQ requests are named as INT1 and INT2. INT1 comes from
COS P1 & P2, P1C0, P1C3, or the event counter interrupt. INT2 comes
from COS P3 & P4, P2C0, P2C3, or the timer interrupt. The sources of
INT1 and INT2 is selectable by using the Interrupt Source Control (ISC)
Register.
Figure 4.4 Dual Interrupt System of PCI-7396
4.3.4 Interrupt Source Control (ISC)
There are four bits to control the IRQ sources of INT1 and INT2. Table
4.1 shows the selection of the IRQ sources and the interrupt trigger
condition.
If the application needs one IRQ only, you can disable one of the IRQ
sources by software. You can also disable both the two interrupts If
you do not need any IRQ source. However, the PCI BIOS still assign a
IRQ level to the PCI card and occupy the PC resource if you only
disable the IRQ sources without change the initial condition of the PCI
controller.
INT1
C1 C2 IRQ Sources
IRQ Trigger Condition
Disable
4
X INT1 disable
--
Mode 1
0
X COS P1&P2 (48bits) Change of State for PCI-7396
Mode 2
1
X P1C0 OR ~P1C3
(see following)
Mode 3
2
X ~P1C0
falling edge of P1C0
Mode 4
3
X Event Counter
Counter count down to 0
INT2
C1 C2 IRQ Sources
IRQ Trigger Condition
Disable
X
4 INT2 disable
--
Mode 1
X
0 COS P3&P4 (48bits) Change of State for PCI-7396
Mode 2
X
1 P2C0 OR ~P2C3
(see following)
PCI
Controller
INT #A
IRQ
Flip-
Flops
INT1
INT2
INT1
MUX
P1C0/~P1C3
COS P1 & P2
Event IRQ
P2C0/~P2C3
COS P3 & P4
Timer IRQ
~P1C0
~P2C0
INT2
MUX
Clear IRQ