4 / 10 page

Index Registers
Special Function Register
Interrupts
The APCI-IB40 has one interrupt output signal which is routed to an IRQ line during the PCI BIOS
initialisation. This interrupt line is expanded on board to provide two interrupt sources. These
interrupts are connected to the output signals from counter 0 and counter 1. An interrupt source
register has been provided at index 05H (See Index Registers table).
As PCI interrupts are level triggered the interrupt service routine must determine the source of the
interrupt then clear the interrupt, this is achieved by reading from the base address location. A PCI
BIOS call can be used to determine the IRQ signal assigned to this card.
Page 4
2192-09099-000-000
J591 APCI-IB40
05
Read
Interrupt source register
06-0F
N/A
Not Used
N/A
10
Read/Write
Counter 0
Refer to manufactures data
sheet for programming
information
Bit 0 = 1 Counter/Timer 0
Bit 1 = 1 Counter/Timer 1
Bit 2-7 Not used
11
Read/Write
Counter 1
12
Read/Write
Counter 2
13
Write
Timer/Counter Control Word
Index
80
Read/Write
Write
Register Name
User LED
Bit Function
81
Read
Board Ident
Bit 0-7 Always gives value of
00H for APCI-IB40
Bit 0 0 = LED off
1 = LED on
Bit 1-7 Not used
90
Write
Output buffer enable
Bit 0 0 = Outputs disabled
1 = Outputs enabled
Bit 1-7 Not used.
Index
00
Read/Write
Write
Register Name
Output Control Latches
I/O lines 0-7
Function
00
Read
Status of I/O lines 0-7
Bit 0-7 0 = Input 0
1 = Input 1
01
Write
Output Control Latches
I/O lines 8-15
Bit 0-7 0 = Output 0
1 = Output 1
Bit 0-7 0 = Output 0
1 = Output 1
01
Read
Status of I/O lines 8-15
Bit 0-7 0 = Input 0
1 = Input 1
02
Write
Output Control Latches
I/O lines 16-23
Bit 0-7 0 = Output 0
1 = Output 1
02
Read
Status of I/O lines 16-23
Bit 0-7 0 = Input 0
1 = Input 1
03
Write
Output Control Latches
I/O lines 24-31
Bit 0-7 0 = Output 0
1 = Output 1
03
Read
Status of I/O lines 24-31
Bit 0-7 0 = Input 0
1 = Input 1
04
Write
Output Control Latches
I/O lines 32-39
Bit 0-7 0 = Output 0
1 = Output 1
04
Read
Status of I/O lines 32-39
Bit 0-7 0 = Input 0
1 = Input 1