
Chapter 5: Programming
Manual Number: 00650-004-5
Page 5-11
Base + F Write:
The counters are programmed by writing a control byte into a counter control
register at Base A 15. The control byte specifies the counter to be programmed, the
counter mode, the type of read/write operation, and the modulus. The control byte format is as
follows:
7
B
6
B
5
B
4
B
3
B
2
B
1
B
0
B
1
C
S
0
C
S
1
W
R
0
W
R
2
M
1
M
0
M
D
C
B
SC0-SC1:
These bits select the counter that the control type is destined for.
SC1
SC0
Function
0
0
Program Counter #0
0
1
Program Counter #1
1
0
Program Counter #2
1
1
Read/Write Cmd.*
* See Reading and Loading the Counters, Page 7-4
RW0-RW1:
These bits select the read/write mode of the selected counter.
RW1 RW0 Counter Read/Write Function
0
0
Counter Latch Command
0
1
Read/Write LS Byte
1
0
Read/Write MS Byte
1
1
Read/Write LS Byte, then MS Byte
M0-M2:
These bits set the operational mode of the selected counter.
MODE M2
M1
M0
0
0
0
0
1
0
0
1
2
X
1
0
3
X
1
1
4
1
0
0
5
1
0
1
BCD:
Set the selected counter to count in binary (BCD = 0) or BCD (BCD = 1).
Содержание ADIO1600 Series
Страница 1: ...ADIO1600 Series Product Manual MANUAL NUMBER 00650 004 5D ...
Страница 4: ...Page iv This page intentionally left blank ...
Страница 8: ...Page viii This page intentionally left blank ...
Страница 17: ...Manual Number 00650 004 5 Page 2 4 ADIO1600 Manual Figure 2 1 ADIO1600 Block Diagram ...