Enabling The Special Registers; Interrupt Status Register - Quatech DSCLP-200 User Manual

Two and one channel rs-422/485 low profile asynchronous communications adapter for pci bus
Hide thumbs Also See for DSCLP-200:
Table of Contents

Advertisement

4.2 Enabling the Special Registers

The DSCLP-200/300 contains two unique registers, an Interrupt Status
Register and an Options Register. These registers are enabled when the SPAD
jumper (J13) is removed (factory default). They replace the UART Scratchpad
Register on accesses to register address 7.
The Interrupt Status Register and Options Register are accessed through
the scratchpad location of any UART. The DLAB bit of the UART (Line Control
Register, bit 7) is used to select between the two registers. The most recent write
of a DLAB bit in any UART selects between the two registers as shown in Figure
8.
DLAB Bit
0
1
X
Figure 8 --- DLAB bit selects between special registers

4.3 Interrupt Status Register

The read-only Interrupt Status Register can be used to quickly identify
which serial ports require servicing after an interrupt. Reading the Interrupt Status
Register will return the interrupt status of the entire DSCLP-200/300, as shown in
Figure 9. The individual bits are cleared as the interrupting ports are serviced.
The interrupt service routine should ensure that the interrupt status register reads
zero before exiting.
Bit
7 (MSB)
6
5
4
3
2
1
0
DSCLP/SSCLP-200/300 User's Manual
SPAD Jumper
removed
removed
applied
Description
0 (not used)
0 (not used)
0 (not used)
0 (not used)
0 (not used)
0 (not used)
Port 2 --- 1 if interrupt pending
Port 1 --- 1 if interrupt pending
Figure 9 --- Interrupt Status Register
Register selected for
address 7 accesses
Interrupt Status Register
Options Register
Scratchpad Registers
17

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DSCLP-200 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dsclp-300Ssclp-200Ssclp-300

Table of Contents