6000 Series user’s manual
Counter timer controller
15-9
Mode 5 – Hardware triggered strobe
This mode can be useful by loading a count into counter 0 or counter 1 and
then starting the count by enabling the GATE. Once the count has been
reached an interrupt will be generated. This mode requires control of the
GATE and, therefore, cannot be used for the counter 2 pre-scaler.
This mode is useful in order to generate a one CLOCK cycle width OUTPUT
triggered by GATE, after a COUNT value of N has expired. The OUT signal
is HIGH after the control word is written. The COUNT value of N is then
written. A POSITIVE transition on the GATE input is then required. The
next CLOCK cycle loads the COUNT value into the counter, and subsequent
CLOCK cycles decrement the counter. When the counter reaches a value of 0
the OUT cycles LOW for one CLOCK period. GATE does not inhibit the
counter or effect the OUT signal. Any POSITIVE transition of the GATE
input will reload the COUNT value N into the counter and the counting will
continue.
Because interrupts are typically positive edge triggered, the interrupt will not
be generated until OUT goes low and then high again (CLOCK count +1).
≡
Enhanced INT 17H function definition
Initialize counter/timer chip
Purpose:
To configure the 6020 on-board CTC.
Calling registers:
AH
eeh
AL
00h
BL
Channel 2 timebase
0->longest possible
1->1/100 (100 Hz) (Not supported for 7.159 MHz clock rate)
2->1/1000 (1KHz)
3->1/10,000 (10 KHz)
BH
Channel 2 input clock frequency
0->1.843 MHz [W2 2-4 jumpered]
1->7.159 MHz [W2 1-2 jumpered]
CL
Channel 0 mode select
0->square wave generator
1->rate generator
CH
Channel 1 mode select
0->square wave generator
1->rate generator
Sl
Channel 0 count, c0cnt
channel 0 period = timebase * c0count
Dl
Channel 1 count, c1cnt
channel 1 period = timebase * c1count
Summary of Contents for 6000 Series
Page 7: ...Notice to user PC 500 user s manual ...
Page 9: ...About this manual 6000 Series user s manual ...
Page 37: ...2 20 Quick start 6000 Series user s manual ...
Page 65: ...5 16 Serial ports 6000 Series user s manual ...
Page 87: ...6 22 EZ I O 6000 Series user s manual ...
Page 103: ...8 8 Analog I O 6000 Series user s manual ...
Page 119: ...14 2 PC 104 expansion 6000 Series user s manual ...
Page 133: ...16 4 Watchdog timer reset and remote reset 6000 Series user s manual ...
Page 139: ...17 6 Serial EEPROM 6000 Series user s manual ...
Page 157: ...21 2 Software utilities 6000 Series user s manual ...
Page 161: ...22 4 Troubleshooting 6000 Series user s manual ...
Page 177: ...A 16 6010 technical data 6000 Series user s manual ...
Page 215: ...D 16 6040 technical data 6000 Series user s manual ...
Page 229: ...F 2 Miscellaneous 6000 Series user s manual ...