beautypg.com

4 isolated digital input register, 5 clear irq register – ADLINK PCI-7258 User Manual

Page 26

background image

18 • Registers

3.4 Isolated Digital Input Register

There are 2 isolated input channels on PCI-7258 card. The status of the 2
channels can be read from the isolated input register. Each bit corresponds
to each channel. A “1” means the input logic is high and “0” means the input
logic is low.

Address: BASE + 0x04

Attribute: Read

7

6

5

4

3

2

1

0

--- --- --- --- --- --- DI1

DI0

15

14

13

12

11

10

9

8

--- --- --- --- --- --- --- ---

DIx: isolated digital input channel x, x=0, 1

3.5 Clear

IRQ

register

The PCI-7258 has two interrupt sources for the digital input channels 0 and 1.
Writing anything to this register will clear the interrupt request.

Address: BASE + 0x08

Attribute: Write

7

6

5

4

3

2

1

0

--- --- --- --- --- --- --- ---

15

14

13

12

11

10

9

8

--- --- --- --- --- --- --- ---