beautypg.com

5 digital input register – ADLINK PCI-8554 User Manual

Page 38

background image

28 • Registers

There are a total of twenty-two bits on the cPCI/PCI-8554/R used for
selecting clock sources for Timer/Counter 1 ~ 10, CK1 and the debounce
system.

Address: BASE + 0x10 ~ 0x12

Attribute: write only

Data Format:

Bit

7

6

5

4

3

2

1

0

Base+0x10 C4N2

C4N1 C3N2 C3N1

C2N2 C2N1 C1N2 C1N1

Base+0x11 C8N2

C8N1 C7N2 C7N1

C6N2 C6N1 C5N2 C5N1

Base+0x12 - DBCSEL

- CK1SEL

C10N2 C10N1

C9N2 C9N1

Table 6. Timer/Counter Clock Mode Control Register

CnN1and CnN2:

These two bits are used to control clock source of
Timer/Counter n, n = 1 ~ 10

CK1SEL:

select source of CK1

DBCSEL:

select debounce clock

3.5

Digital Input Register

There are 8 digital input channels on the cPCI/PCI-8554/R.

Address: BASE + 0x18

Attribute: read only

Data Format:

Bit

7

6

5

4

3

2

1

0

Base+0x18 DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0

Table 7. Digital Input Register