10
INTEN
INTEN enables interrupts from the PCI-60A onto the PCI bus when set to “1”. If cleared
to "0", the interrupt remains pending but blocked from the PCI-9080. The PCI-9080 will
cause INTA# of the PCI bus to be asserted if INTEN is enabled and an interrupt source is
active. The PCI-9080 must also be set up to pass interrupts by having its Local Interrupt
Enable bit and the PCI Interrupt Enable bit in the Interrupt Control/Status Register set to
“1”s. Only the PCI Interrupt Enable bit defaults to “1” as set by the EEPROM. The power-
up and reset default is “0”.
INTSET
The INTSET bit is used with INTEN to create an interrupt. The interrupt source is within
the Altera control PLD. With INTEN enabled, setting INTSET to a “1” will generate an
interrupt input to the PCI-9050. If interrupts from the local bus are enabled, the PCI bus
INTA# will be activated. This is a useful feature for debugging.
CNTL1:
BAR2 offset 0x00000600 = control register 1 [CNTL1]
Read
D15 D14 D13 D12 D11 D10 D9 D8
Unused Unused Unused Unused IRQF1 IRQF0 IRQE1 IRQE0
D7 D6 D5 D4 D3 D2 D1 D0
IRQD1 IRQD0 IRQC1 IRQC0 IRQB1 IRQB0 IRQA1 IRQA0
Bit
Definition [read only]
IRQA0
0 = no interrupt, 1 = interrupt pending
IRQA1
0 = no interrupt, 1 = interrupt pending
IRQB0
0 = no interrupt, 1 = interrupt pending
IRQB1
0 = no interrupt, 1 = interrupt pending
IRQC0
0 = no interrupt, 1 = interrupt pending
IRQC1
0 = no interrupt, 1 = interrupt pending
IRQD0
0 = no interrupt, 1 = interrupt pending
IRQD1
0 = no interrupt, 1 = interrupt pending
IRQE0
0 = no interrupt, 1 = interrupt pending
IRQE1
0 = no interrupt, 1 = interrupt pending
IRQF0
0 = no interrupt, 1 = interrupt pending
IRQF1
0 = no interrupt, 1 = interrupt pending
CNTL1 is read to determine the source of an interrupt request that originates from the
IndustryPack Slots. If an interrupt request is processed by the host CPU originating from
the PCI-60A, then the CPU should read it and CNTL2 to determine which interrupts are
pending. If the IndustryPack requires access in the interrupt space, then a read/write
operation can be performed via the Interrupt space (see memory map) to create an INT
space access to the IndustryPack slot in question. A1 is set by the address within the
space. Access an even word [a1 =0] for INT0 and an odd word for INT1.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com