33
C.3 Counter 0/1/2/3 mode — BASE+00/04/08/0CH
Table C-2 PCI-1784 Register for counter 0/1/2/3 mode
1514131211109876543210
Base Addr. 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Counter 0 Mode
DI3 DI2 DI1 DI0 TM IX SW DF UL OL RF M2 M1 M0
00H W
Counter 1 Mode
DI3 DI2 DI1 DI0 TM IX SW DF UL OL RF M2 M1 M0
04H W
Counter 2 Mode
DI3 DI2 DI1 DI0 TM IX SW DF UL OL RF M2 M1 M0
08H W
Counter 3 Mode
DI3 DI2 DI1 DI0 TM IX SW DF UL OL RF M2 M1 M0
0CH W
M2 ~ M0 Counter input mode control
000 Disable
001 Quadrature input x 1
010 Quadrature input x 2
011 Quadrature input x 4
100 2 pulse input
101 1 pulse input
110 N/A
111 N/A
RF Set counter reset value
080000000h
100000000h
OL Counter overflow lock control
0Counter continues counting (wraps over) when
counter overflow
1 Counter locked when counter overflow