EasyManua.ls Logo

PEP Modular Computers Modular Computers RS485 - Page 62

Default Icon
320 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SMART I/O Users Manual
March 12, 1996
©1996 PEP Modular Computers GmbH
Page 2 - 22
Chapter 2 SMART-BASE
Example for a Square Wave Generator
The Timer Control Register
In this configuration, the timer produces a square wave at the TOUT pin
which is connected to the users circuitry. The TIN pin may be used as a
clock input. The processor loads the counter preload registers and the timer
control register and then enables the timer. When the 24-bit counter passes
from $000001 to $000000, the ZDS status bit is set and the TOUT is
toggled. At the next clock to the 24-bit counter it is again loaded with the
contents of the CPRs and thereafter decrements.
76543210
TOUT/TIAC
Control
Z.D.
Control
Clock
Control
Timer
Enable
0 1 x 0 0 00 or 1x Changed

Table of Contents