DM5210 analog input module 4-17 RTD Embedded Technologies, Inc.
Mode 2, Rate Generator. This mode functions like a divide-by-N counter and is typically used to generate a
real-time clock interrupt. The output is initially high, and when the count decrements to 1, the output goes low for
one clock pulse. The output then goes high again, the timer/counter reloads the initial count, and the process is
repeated. This sequence continues indefinitely.
Mode 3, Square Wave Mode. Similar to Mode 2 except for the duty cycle output, this mode is typically used
for baud rate generation. The output is initially high, and when the count decrements to one-half its initial count, the
output goes low for the remainder of the count. The timer/counter reloads and the output goes high again. This
process repeats indefinitely.
Mode 4, Software-Triggered Strobe. The output is initially high. When the initial count expires, the output
goes low for one clock pulse and then goes high again. Counting is “triggered” by writing the initial count.
Mode 5, Hardware Triggered Strobe (Retriggerable). The output is initially high. Counting is triggered by
the rising edge of the gate input. When the initial count has expired, the output goes low for one clock pulse and then
goes high again.
Digital I/O
The 20 available 8255 PPI-based digital I/O lines can be used to transfer data between the computer and
external devices. The digital input lines of Ports A and C can have pull-up or pull-down resistors installed, as
described in Chapter 1.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com