User`s manual

PK2200 System Development s 37
The following points summarize the counters capabilities:
The counter can measure the time at which a negative edge occurs
with a precision of a few microseconds. A minimum time must
occur between successive events to allow for interrupt processing.
The counter can measure the width of a pulse by counting (up to
65,536) at a rate that varies from 300 Hz to 600 kHz, providing
16-bit accuracy.
Count negative-going edges for up to two channels. The maxi-
mum count for high-speed counting (5 kHz and up) is 65,536. For
low speeds, the maximum count is unlimited.
Function calls load the count-down value for the DMA channel and
enable the DMA interrupt. Once a counter reaches zero, flags for the
DMA channel are set to 1. DMA flags can be monitored by an applica-
tion program.
Digital Outputs
Using the Digital Outputs
The digital outputs are supported in software by Dynamic C functions and
virtual driver variables. There are several methods for writing to the
digital outputs.
The digital outputs can be used for a wide variety of applications includ-
ing the following:
Driving solenoids, relays, motors and other inductive loads
directly.
Driving incandescent lamps, LEDs and resistive loads directly.
Driving FETs, transistors, thyristors or solid state relays to
increase the current or voltage output capability as well as
providing a.c. drive capability.