CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 14

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
2.4.3 CLASS 1 DRIVER STATE MACHINE INITIALIZATION
The Class 1 driver utilizes a state machine for processing all requests. The requests to the state machine
llc1_request() are sent from the application as well as the network (other mode) itself. The state machine
must
ENABLE_WITHOUT_DUP_ADDR_CHECK is used to initialize the state machine. See the Class 1 Driver
Detail Description on how to request services from ControLink.
Example:
2.4.4 SAP ACTIVATION
Each
SAP_ACTIVATION_REQUEST service request to enable the SAP. This process is necessary so that
ControLink can determine which incoming messages have valid addresses and which ones do not.
Example:
To summarize, the entire initialization process is as follows:
be
/* use ssap and dsap of 0 for internal operations */
status = llc1_request(0,0,ENABLE_WITHOUT_DUP_ADDR_CHECK, &SAP0);
if (status == E_OK)
else
SAP
/* enable SAP1, use 0 dsap because it is a local operation */
status = llc1_request(1,0, SAP_ACTIVATION_REQUEST, &SAP1);
/*
enable group SAP1, use 0 dsap because it is a local operation
set group member of structure SAP1 to 1 to indicate a group SAP
*/
GSAP1.group = 1;
status = llc1_request(1,0, SAP_ACTIVATION_REQUEST, &GSAP1);
void main(void)
initialized
{
printf(“Station is up\n”);
}
{
printf(“Station is down\n”);
{
USIGN8 status;
/* insert SAP buffer declaration as shown above */
/d20_set_defaults(); * set default parameters */
/* insert custom parameters here */
d20_set_parameter(d20_node_mode,1); /* select soft id selection */
status = d20_init();
if (status == E_OK)
else
}
to
{
printf(“Network hardware is up and running\n”);
}
{
printf(“Error in hardware initialization\n”);
}
be
to
used
a
must
known
be
state
internally
14
to
function
activated
properly.
within
ControLink
The
service
using
request
the

Related parts for CONTROLINK86