4 address map and special registers – Quatech RS-422 User Manual

Page 14

Advertising
background image

4 Address Map and Special Registers

This chapter explains how the two UARTs and special registers are addressed,

as well as the layout of those registers. This material will be of interest to programmers
writing driver software for the DSCLP-200/300.

4.1 Base Address and Interrupt Level (IRQ)

The base address and IRQ used by the DSCLP-200/300 are determined by

the BIOS or operating system. Each serial port uses 8 consecutive I/O locations. The
two ports reside in a single block of I/O space in eight byte increments, for a total of 16
contiguous bytes, as shown in Figure 7.

Base Address + 8

to Base Address + 15

Port 2

Base Address + 0

to Base Address + 7

Port 1

I/O Address Range

Channel

Figure 7 --- Port Address Map

All two serial ports share the same IRQ. The DSCLP-200/300 signals a

hardware interrupt when any port requires service. The interrupt signal is maintained
until no port requires service. Interrupts are level-sensitive on the PCI bus.

The base address and IRQ are automatically detected by the device drivers

Quatech supplies for various operating systems. For cases where no device driver is
available, such as for operation under DOS, Quatech supplies the "QTPCI" DOS
software utility for manually determining the resources used. See page 17 for details.

DSCLP-200/300 User's Manual

9

Advertising