Counter/Timers (8254)
If a counter is latched and then some time later latched again before
the count is read, the second Counter Latch command is ignored. The
count read will be the count at the time the first Counter Latch
command was issued.
Like the first method of reading the counter, the Counter Latch
command requires that the count be read according to the
programmed format. If the counter is programmed for two byte
counts, two bytes must be read (though not necessarily one right after
the other).
Another feature of the 8254 is that reads and writes of the same
counter may be interleaved; for example, if the counter is pro-
grammed for two byte counts, the following sequence is valid:
1.
Read least significant byte
2.
Write new least significant byte
3.
Read most significant byte
4.
Write new most significant byte
If a counter is programmed to read or write two-byte counts, the
following precaution applies: a program must not transfer control
between reading the first and second byte to another routine that also
reads from that same counter. If this happens, an incorrect count will
be read.
11-10
Содержание 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...