82C55 Digital I/O Data And Control Registers - Measurement Computing CIO-DAS16/M1/16 User Manual

High speed analog inputs & digital i/o
Table of Contents

Advertisement

6.9.4
8254 CONTROL REGISTER
BASE + Fh
Example, 30Fh, 783 decimal
WRITE ONLY
7
6
D8
D7
The control register is used to set the operating Modes of 8254 Counters 0, 1, and 2. A counter is configured by
writing the correct Mode information to the Control Register, then the proper count data must be written to the
specific Counter Register.
The Counters on the 82C54 are 16-bit devices. Since the interface to the 82C54 is only eight bits wide, Count data is
written to the Counter Register as two successive bytes. First the low byte is written, then the high byte. The Control
Register is eight bits wide. Further information can be obtained on the 82C54 data sheet, available from Intel or
Harris.

5.10 82C55 DIGITAL I/O DATA AND CONTROL REGISTERS

The 82C55 Digital I/O port is at Register BASE +400h to follow the register configuration of the CIO-DAS1600
family.
5.10.1 8255 PORT A DATA
BASE + 400h
READ/WRITE
7
6
D8
D7
5.10.2 8255 PORT B DATA
BASE + 401h
READ/WRITE
7
6
D8
D7
5.10.3 8255 PORT C DATA
BASE + 402h
READ/WRITE
7
6
D8
D7
5.10.4 8255 CONTROL REGISTER
BASE + 403h
WRITE ONLY
7
6
D8
D7
The control register is used to set the operating Modes of 8255 Ports A, B, and C. A port is configured by writing the
correct Mode information to the Control Register, then the proper data must be written to the specific digital output
register or read from the specific input register. Further information can be obtained on the 8255 data sheet, available
from Intel or Harris.
5
D6
Example, 700h, 1792 decimal
5
D6
Example, 701 hex, 1793 decimal
5
D6
Example, 702h, 1794 decimal
5
D6
Example, 703h, 1795 decimal
5
D6
4
2
D5
D4
4
2
D5
D4
4
2
D5
D4
4
2
D5
D4
4
2
D5
D4
15
3
1
D3
D2
3
1
D3
D2
3
1
D3
D2
3
1
D3
D2
3
1
D3
D2
0
D1
0
D1
0
D1
0
D1
0
D1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CIO-DAS16/M1/16 and is the answer not in the manual?

Table of Contents