3 general purpose timer/counter register, 4 general purpose timer/counter control register – ADLINK cPCI-9116 User Manual
Page 32

22
• Registers
4.3
General Purpose Timer/Counter Register
One 16-bit, general-purpose timer/counter exists in the 9116 series card.
Writing to this register loads the initial count value into the general-purpose
timer/counter. Reading from this register feedbacks the current count value of
the general-purpose timer/counter
Address: BASE + 0x18
Attribute: write / read
Data Format:
Bit
7
6
5
4
3
2
1
0
GP7 GP6 GP5 GP4 GP3 GP2 GP1 GP0
Bit
15
14
13
12
11
10
9
8
GP15 GP14 GP13 GP12 GP11 GP10 GP9 GP8
Bit
23
22
21
20
19
18
17
16
--- --- --- --- --- --- --- ---
Bit
31
30
29
28
27
26
25
24
--- --- --- --- --- --- --- ---
Table 4. General Purpose Timer/Counter Register
4.4
General Purpose Timer/Counter Control Register
Address: BASE + 0x20
Attribute: write only
Data Format:
Bit
7
6
5
4
3
2
1
0
Counter
en
Up
Down
Up
Down
src
Gate_sr
c
Clk_src
--- MODE1 MODE0
Bit
15
14
13
12
11
10
9
8
--- --- --- --- --- --- ---
Bit
23
22
21
20
19
18
17
16
--- --- --- --- --- --- --- ---
Bit
31
30
29
28
27
26
25
24
--- --- --- --- --- --- --- ---
Table 5. General Purpose Timer/Counter Control Register