CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 50

no-image

CONTROLINK86

Manufacturer Part Number
CONTROLINK86
Description
Development Software Embedded Networking Software
Manufacturer
SMSC
Datasheet

Specifications of CONTROLINK86

Tool Function
Compiler
Tool Type
Compiler
Processor Series
80x86
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ControLink86 Realtime Networking Software
R
4.6.14d20_interrupt()
R
R
R
R
R
4.6.15d20_check_int()
R
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
none
/* leave the network and exit */
d20_exit();
This is the function that is vectored to when the COM2002x generates the hardware
interrupt. The vector to this ISR is stored during the driver initialization. It is recommended
that the real-life control system chains the vector to this ISR rather than replace it. This ISR
performs the following functions:
void __interrupt __far d20_interrupt (void);
none
none
/* define a pointer to the IRQ3 hardware interrupt vector */
#define D20_IRQ3 (USIGN32 __far *)0x2CL
/* pointer */
USIGN32 __far *interrupt_vector;
/* assign a pointer to the IRQ3 */
interrupt_vector = D20_IRQ3;
/* install the vector to d20_interrupt() at the irq3 location */
*interrupt_vector = (USIGN32 __far *)d20_interrupt;
Interrupt parser. Its function is to process the network related events based on the
COM2002x interrupt bits located in the Status Register and Diagnostic Status Register:
E
D
P
P
R
E
D
Bit
XAMPLE
ROTOTYPE
ARAMETERS
XAMPLE
ESCRIPTION
ETURN
ESCRIPTION
RI
V
:
: (
generate the EOI sequence for the host interrupt controller,
increment the general counter
set a global flag informing the scheduler that there is a network interrupt to be
processed.
ALUES
INSTALLING THE VECTOR TO THE
:
:
:
:
Interrupt
Receiver Inhibited
:
Description of Service
Determine if Command Chaining - if so, clear
Receive Interrupt
Examine the contents of the current Packet RAM
page.
Copy the contents of the Packet RAM page to the
d20_interrupt() )
50

Related parts for CONTROLINK86