CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 51

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
R
R
R
OUTINE
OUTINE
OUTINE
OUTINE
For explanation of each of these interrupts - refer to the COM2002x ULANC Data Sheet.
Note that the COM2002x will generate the interrupt only when the corresponding bits are set
in the Interrupt Mask Register.
This function can be a part of the ISR d20_interrupt() or can be invoked by the scheduler as
a result of the global flag set the ISR.
The real-life control application may require different actions upon the occurrence of any
network events than those programmed into the d20_check_int() parser. The designer may
want to tailor this parser, inserting the control software in places, where the diagnostic
counters are incremented.
void d20_check_int (void);
none
none
/* this code will continually parse the COM2002x interrupts */
while(TRUE)
{
d20_check_int();
}
P
P
R
E
ROTOTYPE
ARAMETERS
XAMPLE
EXCNAK
ETURN
NEXTID
RECON
NEW
TA
V
:
ALUES
:
:
Transmitter Available
Reconfiguration
Excessive NAK
New Next ID
:
inbuf[ ] queue
Increment the D20_RI_CNT diagnostic counter
Enable next receive page in the Packet RAM
Determine if Command Chaining - if so, clear
Transmit Interrupt
Return the status of the broadcast
Return the status of the point-to-point transmission
Increment the D20_TX_DONE and
D20_TX_ERROR diagnostic counters
Increment the D20_RECON_CNT
If the reconfiguration is caused by this node,
increment the D20_MYRECON counter
Clear Excessive NAK interrupt
If the system requires the retry of a packet -
schedule the retransmission
Return the status
Increment D20_EXNAK_CNT diagnostic counter.
Report the ID of the next node to the upper layers
Increment D20_NNID_CNT diagnostic counter
51

Related parts for CONTROLINK86