PCI-1751 User Manual
26
OUT
Current state of counter output
NC
Null count is 1 when the last count written to the counter register has
been loaded into the counting element
C.3
Counter Operating Modes
C.3.1
MODE 0 - Stop on Terminal Count
The output will be initially low after you set this mode of operation. After you load the
count into the selected count register, the output will remain low and the counter will
count. When the counter reaches the terminal count, its output will go high and
remain high until you reload it with the mode or a new count value. The counter con-
tinues to decrement after it reaches the terminal count. Rewriting a counter register
during counting has the following results:
1.
Writing to the first byte stops the current counting.
2.
Writing to the second byte starts the new count.
C.3.2
MODE 1 - Programmable One-shot
The output is initially high. The output will go low on the count following the rising
edge of the gate input. It will then go high on the terminal count. If you load a new
count value while the output is low, the new value will not affect the duration of the
one-shot pulse until the succeeding trigger. You can read the current count at any
time without affecting the one-shot pulse. The one-shot is retriggerable, thus the out-
put will remain low for the full count after any rising edge at the gate input.
C.3.3
MODE 2 - Rate Generator
The output will be low for one period of the input clock. The period from one output
pulse to the next equals the number of input counts in the counter register. If you
reload the counter register between output pulses, the present period will not be
affected, but the subsequent period will reflect the value.
The gate input, when low, will force the output high. When the gate input goes high,
the counter will start from the initial count. You can thus use the gate input to synchro-
nize the counter.
With this mode the output will remain high until you load the count register is loaded.
You can also synchronize the output by software.
C.3.4
MODE 3 - Square Wave Generator
This mode is similar to Mode 2, except that the output will remain high until one half
of the count has been completed (for even numbers), and will go low for the other half
of the count. This is accomplished by decreasing the counter by two on the falling
edge of each clock pulse. When the counter reaches the terminal count, the state of
the output is changed, the counter is reloaded with the full count and the whole pro-
cess is repeated.
BASE+24/25/26
Status read-back mode
Bit
D7
D6
D5
D4
D3
D2
D1
D0
Value
OUT
NC
RW1
RW0
M2
M1
M0
BCD
Summary of Contents for PCI-1751
Page 1: ...User Manual PCI 1751 48 bit Digital Input Output Card for PCI Bus...
Page 9: ...Chapter 1 1 General Information...
Page 12: ...PCI 1751 User Manual 4...
Page 13: ...Chapter 2 2 Installation...
Page 16: ...PCI 1751 User Manual 8...
Page 17: ...Chapter 3 3 Signal Connections...
Page 26: ...PCI 1751 User Manual 18...
Page 27: ...Appendix A A Specifications...
Page 29: ...Appendix B B Block Diagram...
Page 30: ...PCI 1751 User Manual 22 B 1 PCI 1751 Block Diagram...
Page 31: ...Appendix C C Function of 8254 Counter Chip...
Page 37: ...Appendix D D Register of PCI 1751...
Page 39: ...31 PCI 1751 User Manual Appendix D Register of PCI 1751...