ADLINK cPCI-7249R User Manual

Page 36

Advertising
background image

28

Operation Theorem

4.3.4 Interrupt Source Control

In ISC register (offset 0x20), there are four bits to control the IRQ sources of
INT1 and INT2.

If the application need only one IRQ, you can disable one of the IRQ sources
by software. If your application do not need any IRQ source, you can disable
both interrupts. 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.

It is not recommended to change the initial condition of the PCI card by
users‘ own application software. If users want to disable the IRQ level, user
can use the ADLINK’s utility ‘INIT7248.EXE’ or ‘INIT7296.EXE’ to change
power on interrupt setting.

The table 4.3 shows the register format of the ISC (address offset 0x20).
This register is write only. The 4 LSBs are used to control the source of INT1
and INT2.

INT1

D3 D2 D1 D0 IRQ Sources

IRQ Trigger Condition

Disable X X 0 0 INT1

disable

--

Mode 1

X

X

0

1 ~P1C0

falling edge of P1C0

Mode 2

X

X

1

0 P1C0 OR ~P1C3 (see following)

Mode 3

X

X

1

1 Event Counter

Counter count down to 0

INT2

D3 D2 D1 D0 IRQ Sources

IRQ Trigger Condition

Disable 0 0 X X

INT2

disable

--

Mode 1

0

1

X

X ~P2C0

falling edge of P2C0(*)

Mode 2

1

0

X

X P2C0 OR ~P2C3 (see following) (*)

Mode 3

1

1

X

X Timer Output

Timer count down to 0

Table 4.3 ISC register format

(*) Note: Not available on PCI-7224.

Then the IRQ sources is set as “P1C0 OR ~P1C3”, the IRQ trigger
conditions are summarized in table 4.4.

P1/2C0 P1/2C3 IRQ Trigger Condition

High

X

PC0=‘H’ disable all IRQ

X

Low

PC3=‘L’ disable all IRQ

Low

1->0

PC3 falling edge trigger when PC0=L

0->1

High

PC0 rising edge trigger when PC3=H

Table 4.4 IRQ Trigger conditions

Because the P1/P2C0 and P1/P2C3 are external signals, the users can
utilize the combination of the four signals to generate a proper IRQ.

Advertising
This manual is related to the following products: