CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 48

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
4.6.11d20_clear_diag()
R
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
This function transfers the state of the diagnostic counters to the specified user buffer.
Diagnostic counters are used to record the number of occurrences of various network events
as well as upper layers’ requests.
After the transfer, the buffer holds the following information:
void d20_diagnostic(USIGN16 *p_data_16);
none
USIGN16 counters[13]
/* get current diagnostic counters*/
d20_diagnostic(counters);
This function clears (resets to 0) all diagnostic counters except for the D20_RETRIES_CNT
that is reset to the value held by the D20_RETRIES system parameter.
P
P
R
E
D
Byte
number
Parameter
p_data_16
ROTOTYPE
ARAMETERS
XAMPLE
ETURN
ESCRIPTION
10
11
12
0
1
2
3
4
5
6
7
8
9
V
:
ALUES
:
Counter Name
D20_RI_CNT
D20_EXNAK_CNT
D20_RECON_CNT
D20_NNID_CNT
D20_TA_CNT
D20_POR_CNT
D20_MYRECON_CNT
D20_RETRY_CNT
D20_Q_FULL_CNT
D20_TX_DONE
D20_TX_ERROR
D20_INT_GEN
D20_INT_BUSY_CNT
:
:
:
Description
pointer to the array of 13 16-byte (int) entities that
will hold the latest state of the Diagnostic Counters.
Number of RI interrupts
Number of EXNAK interrupts
Number of RECON interrupts
Number of NEW NODE ID interrupts
Number of TA interrupts
Number of POR resets
Number of reconfigurations counted by self
Number of retries allowed by system
Number of times the receive queue was full
Number of failed transmits
Number of times the ISR was running when the
Description
Number of successful transmits
Number of hardware interrupts from the
COM2002x
hardware interrupt came from the COM2002x
48

Related parts for CONTROLINK86