Quatech QSP-100 user manual Hardware Information

Page 36

7. Hardware Information

The QSP-100's four asynchronous serial ports are implemented using 4 standard 16C550 UARTs. Each of these UARTs requires 8 bytes of I/O space and when enabled

QSP-100 RS-232 channel

Address assignment

Channel A

Base Address + 0

 

 

Channel B

Base Address + 8

Channel C

Base Address + 16

 

 

Channel D

Base Address + 24

 

 

which requires the QSP-100 to be located on an even 32-byte (20H) boundary (e.g. 300H, 320H, 340H, etc.).

Each 16C550 UART contains 8 I/O registers. The last of these registers, located at (Base address

+7), is referred to as the 'Scratchpad Register' and provides no functionality to the UART. In place of this Scratchpad Register, the QSP-100 implements an interrupt status register which can be accessed at (Base address + 7) of any UART. The purpose of the interrupt status register is to give the software programmer an easy way to inspect the interrupt state of the entire QSP-100 with a single input operation. The format of the interrupt status register is shown below:

D7

D6

D5

D4

D3

D2

D1

D0

 

 

 

 

 

 

 

 

0

0

0

0

Intr D

Intr C

Intr B

Intr A

 

 

 

 

 

 

 

 

When one or more UARTs have interrupts pending, the associated bit(s) in the interrupt status register are set to logic 1. When all the pending interrupts have been serviced for a specific UART, its interrupt status bit will be cleared to logic 0 automatically. When all the pending interrupts from all UARTs have been serviced, the entire interrupt status register will return logic

0.The application program should not exit its interrupt service routine until all pending inter- rupts from all channels have been serviced (interrupt status register = 0) or no additional inter- rupts will be received.

If an application requires the UARTs' Scratchpad Registers, the interrupt status register can be disabled using the "p" option on the QSP-100 Client Driver for DOS or the DOS Enabler command lines.

QSP-100 Users Manual

33

Image 36
Contents QSP-100 Four Channel Asynchronous RS-232 Pcmcia Adapter Warranty Information Trademarks Compliances Electromagnetic Emissions EC Council Directive 89/336/EECFCC Class B Table Of Contents Page Introduction DOS / Windows 3.x Installation Client Driver Installation QSP-100 Client Driver for DOSCommand Line Options BaddressDevice = C\QSP-100\QSP100CL.SYS 1.3Example 1.6Example Common Problems QSP-100 Enabler for DOSPage Waddress QSP100EN.EXE QSP100EN.EXE s0,b300,i3,wd8 Memory Range Exclusion OS/2 Installation Drive\path\QSP100.SYS optionsConfiguring With System Assigned Resources Configuring With User Assigned Resources Advanced Configuration Topics Monitoring The Status Of Pcmcia Cards Invalid I/O Address When Using OS/2 Windows 95 Installation Installing a Quatech QSP-100 Under WindowsPage Important Note 2Viewing the QSP-100 Resource Settings Changing Configuration of the QSP-100Page Installing QSP-100 under Windows NT Installing QSP-100 Under Windows NTPage Page Installing Quatech Pcmcia Cards under Windows CE Windows CEPage Hardware Information External Connections This Page Left Blank Intentionally Specifications QSP-100 Version March