Counter/Timers (8254)
If a counter is programmed to read or write two-byte counts, the
following precaution applies: a program must not transfer control
between writing the first and second byte to another routine that also
writes into the same counter. If this happens, the counter will be
loaded with an incorrect count.
D7
D6
D5
D4
D3
D2
D1
D0
SC1
SC0
RW1
RW0
M2
M1
M0
BCD
I/O Address = 43h
RD = 1
WR = 0
1
0
1
0
0
1
1
SC --- Select Counter:
SC1
0
0
1
1
SC0
0
1
0
1
Select Counter 0
Select Counter 1
Select Counter 2
Read-Back Command
(See Read Operations)
RW --- Read/Write:
RW1
RW0
0
Counter Latch Command (See Read )t
(Operations)
Read/Write least significant byte only
Read/Write most significant byte only
Read/Write least significant byte first,
then most significant byte
Note: Don’t care bits (X) should be 0 to ensure compatibility with future products
M --- MODE:
M2
M1
M0
0
0
0
Mode 0
0
1
0
Mode 1
X
0
1
Mode 2
X
1
1
Mode 3
1
0
0
Mode 4
1
1
0
Mode 5
BCD:
0
1
Binary Counter 16-bits
Binary Coded Decimal (BCD) Counter
(4 Decades)
Figure 11–3. Control Word Format.
11-7
Содержание 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...