I/O Ports and Registers
COM-2(PCI), COM-4(PCI), COM-8(PCI)
51
I/O Ports and Registers
The board uses a 16552 equivalent as the asynchronous
communication element (ACE) (the COM-8(PCI) uses a 16654
equivalent). For details, refer to the data sheet supplied by Texas
Instruments or other manufacturer. The functions of the eight
consecutive ports from the set I/O address are the same for each
channel. However, on the COM-4(PCI), "top I/O a 1FH"
for channel 4 is used as the interrupt vector register and therefore
cannot be used as a scratch pad register. On the COM-8(PCI),
"top I/O a 1FH" for channel 4 and "top I/O a 3FH"
for channel 8 are used as interrupt vector registers and therefore
cannot be used as scratch pad registers. Table 5.1 lists the
functions of each I/O port.
- COM-2(PCI) has CH1 and CH2 only.
COM-4(PCI) has CH1 to CH4 only.
Table 5.1. Function Selection Through Internal Registers
CH1
CH2
CH3
CH4
CH5
CH6
CH7
CH8
+0H
+8H
+10H +18H +20H +28H +30H +38H
0
Receiver (Buffer register)
R
+0H
+8H
+10H +18H +20H +28H +30H +38H
0
Transmitter (Holding register)
W
+1H
+9H
+11H +19H +21H +29H +31H +39H
0
Interrupt Enable Register
+2H
+AH
+12H +1AH +22H +2AH +32H +3AH
×
Interrupt ID
R
+2H
+AH
+12H +1AH +22H +2AH +32H +3AH
×
FIFO Control
W
+3H
+BH
+13H +1BH +23H +2BH +33H +3BH
×
Line Control
+4H
+CH
+14H +1CH +24H +2CH +34H +3CH
×
Modem Control
+5H
+DH
+15H +1DH +25H +2DH +35H +3DH
×
Line Status
+6H
+EH
+16H +1EH +26H +2EH +36H +3EH
×
Modem Status
+7H
+FH
+17H
-----
+27H +2FH +37H
-----
×
Scratchpad Register
+0H
+8H
+10H +18H +20H +28H +30H +38H
1
Baud Rate Divider Register LSB
+1H
+9H
+11H +19H +21H +29H +31H +39H
1
Baud Rate Divider Register MSB
R : Read only
W : Write only.
DLAB : Divisor Latch Access Bit in the Modem Status Register.
I/O port address (Starting I/O addxxH)
DLAB
ACE Register (TL16552)
R / W
If the high-order DLAB in the line control register is set to 0,
"starting I/O a 0H" and "starting I/O a 1H" serve as
the transmission/reception buffer and interrupt mask register,
respectively. If DLAB is set to "1", they serve as frequency-
division registers.
Summary of Contents for COM-2(PCI)
Page 1: ...COM 2 PCI COM 4 PCI COM 8 PCI RS 232C Serial I O Board for PCI User s Guide ...
Page 13: ...Introduction COM 2 PCI COM 4 PCI COM 8 PCI 6 ...
Page 67: ...I O Ports and Registers COM 2 PCI COM 4 PCI COM 8 PCI 60 ...
Page 75: ...System Reference COM 2 PCI COM 4 PCI COM 8 PCI 68 ...
Page 78: ......