Technical Description; Interrupts; Why Use An Isp - Black Box IC142C Manual

Black box ic142c; ic190c-r2 8-port serial host adapter pci
Hide thumbs Also See for IC142C:
Table of Contents

Advertisement

5. Technical Description

5.1 Interrupts

A good analogy of a PC interrupt is a telephone ringing. The phone bell is a
request for us to stop what we are currently doing and take up another task (speak
to the person on the other end of the line). This is the same process the PC uses to
alert the CPU that a task must be performed. The CPU, upon receiving an
interrupt, makes a record of what the processor was doing at the time and stores
this information on the "stack"; this allows the processor to resume its predefined
duties after the interrupt is handled, exactly where it left off. Every main sub-system
in the PC has its own interrupt, frequently called an IRQ (short for Interrupt
ReQuest).

5.2 Why Use an ISP?

The Interrupt Status Port (ISP) is a read-only 8-bit register that sets a
corresponding bit when an interrupt is pending. Port 1 interrupt line corresponds
with Bit D0 of the status port, Port 2 with D1, etc. The use of this port means that
the software designer now only has to poll a single port to determine if an
interrupt is pending.
The ISP is at Base+7 on each port (example: Base=280 hex, Status Port=287,
28F...etc.). The adapter will allow any one of the available locations to be read
to obtain the value in the status register. Both status ports on the adapter are
identical, so either one can be read. Example: This indicates that Channel 2 has
an interrupt pending.
Bit Position:
Value Read:
7
6
0
0
CHAPTER 5: Technical Description
5
4
0
0
3
2
0
0
1
0
1
0
13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ic190c-r2

Table of Contents