Counter/Timers (8254)
OPERATION
Reset State
After power-up, the state of the 8254 is undefined. The mode, count
value, and output of all counter/timers are undefined. How each
counter operates is determined when it is programmed; each must be
programmed before it can be used. Unused counters need not be
programmed.
The 8254 does not receive a reset signal; if a board reset occurs due to
power-fail or a pushbutton reset, the timers continue to function as
programmed.
Programming
The three counter/timers are programmed by writing a Control Word
followed by an initial count. The Control Word is written to the
Control Word register at I/O address 0043h. This specifies the counter
being addressed, the mode programmed, whether or not reading or
writing will next take place, and whether or not BCD counting is
desired. Figure 11-3 illustrates the encoding of the Control Word
format.
After the Control Word has been written, the initial count may be
sent. This count must be written following the format specified in the
Control Word. The options are shown in Figure 11-3.
Since each Control Word specifies the counter to which it applies, no
special instruction sequence is required. Any programming sequence
that follows the conventions in Figure 11-3 is acceptable. A new
initial count may be written to a counter at any time without affecting
the counter’s programmed mode. Counting is affected as described
later in this chapter under "Mode Definitions" (see page 11-16). The
new count must follow the programmed count format.
11-6
Содержание ZT 8809A
Страница 15: ...Tables Table B 9 J5 Pin Assignments B 17 Table B 10 J6 Pin Assignments B 18 Table B 11 J7 Pin Assignments B 19...
Страница 334: ...Jumper Configurations W49 W48 A W47 B A B W37 W66 A W50 B C J7 W67 Figure A 11 W37 W47 50 W66 W67 Jumper Blocks A 34...
Страница 346: ...Jumper Configurations W61 W60 W62 W63 W64 A B A B W65 Figure A 13 W60 W65 Jumper Block A 46...