CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 17

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
void main(void)
{
/* initialize network hardware - COM2002x */
/* initialize ControLink */
/* initialize SAPs */
/* control loop */
while(1)
} /* end of main(..) */
{
/* packet received from the network */
if(NETWORK EVENT)
/* send data */
for(source_sap = 0; source_sap < number_of_saps; source_sap++)
if(EXIT CONDITION)
} /* end of control loop */
{
llc1_service();
for(i = 0; i < number_of_saps; i++)
} /* end of processing the network event */
{
/* update SAPBUFer data */
tx_status = llc1_request(source_sap, dest_sap, request_type, &SAPBUF);
/* process tx_status */
}
{
d20_exit();
}
{
/* check every on-line sap */
rx_status = llc1_indication(i);
/* process the status */
switch(rx_status)
} /* end of the for loop */
{
case NO_INDICATION:
case UNITDATA_INDICATION:
case XID_INDICATION:
case TEST_INDICATION:
default:
} /* end of the switch statement */
break;
/* process sap data */
break;
/* process exchange id request */
break;
/* process test request */
break;
break;
17

Related parts for CONTROLINK86