CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 66
CONTROLINK86
Manufacturer Part Number
CONTROLINK86
Description
Development Software Embedded Networking Software
Manufacturer
SMSC
Datasheet
1.CONTROLINK86.pdf
(75 pages)
Specifications of CONTROLINK86
Tool Function
Compiler
Tool Type
Compiler
Processor Series
80x86
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ControLink86 Realtime Networking Software
/****************************************************************************
void display_parameters(void)
* FUNCTION NAME: display_parameters
*
* DESCRIPTION : gets the parameters from d20_params and displays them
*
* RETURN VALUE : none
***************************************************************************/
if((dummy[0] == 'y') || (dummy[0] == 'Y'))
else if((dummy[0] == 'e') || (dummy[0] == 'e'))
else
/* check the result of the initialization */
if(init_status != E_OK)
CLRSCR;
printf("Initialization OK\n\n");
display_parameters();
} /* end of net_init(..) */
{
printf("D20_BASE_LSB D20_BASE_MSB D20_BUS_8_16 D20_CLK D20_NODE_MODE
printf("
d20_get_parameter(D20P_BASE_LSB), d20_get_parameter(D20P_BASE_MSB),
d20_get_parameter(D20P_BUS_8_16), d20_get_parameter(D20P_CLK),
d20_get_parameter(D20P_NODE_MODE), d20_get_parameter(D20P_NODE_SW_PORT));
printf("D20_INT_OR_POLL D20_INT_LEVEL D20_INT_MASK D20_INT_EOI D20_IMR\n");
printf("
d20_get_parameter(D20P_INT_OR_POLL), d20_get_parameter(D20P_INT_LEVEL),
d20_get_parameter(D20P_INT_MASK), d20_get_parameter(D20P_INT_EOI),
d20_get_parameter(D20P_IMR));
printf("D20_RETRIES D20_DISABLE_TX D20_WRITE_ACK\n");
printf("
printf("D20_IN_BUFFERS D20_OUT_BUFFERS\n");
printf("
printf("D20_BROADCAST D20_SHORT_LONG\n");
printf("
printf("D20_CMD_CHAIN D20_NET_TIMEOUT D20_BACKPLANE\n");
printf("
printf("D20_NODE_ID = %02x\n", d20_get_parameter(D20P_NODE_ID));
{
/* initialize hardware */
init_status = d20_init();
}
{
exit(-1);
}
{
printf("\nInvalid selection - exiting!\n");
exit(-1);
}
{
printf("\nInitialization failed, ERROR CODE = %s\n", status_str[init_status]);
printf("Exiting\n");
d20_exit();
exit(-1);
}
%02x
%02x
%02x
%02x
%02x
%02x
d20_get_parameter(D20P_RETRIES), d20_get_parameter(D20P_DISABLE_TX),
d20_get_parameter(D20P_WRITE_ACK));
d20_get_parameter(D20P_IN_BUFFERS),
d20_get_parameter(D20P_OUT_BUFFERS));
d20_get_parameter(D20P_BROADCAST),
d20_get_parameter(D20P_SHORT_LONG));
d20_get_parameter(D20P_CMD_CHAIN),
d20_get_parameter(D20P_NET_TIMEOUT),
d20_get_parameter(D20P_BACKPLANE));
%02x
%02x
%02x
%02x\n",
%02x\n",
%02x
%02x
%02x
%02x\n",
%02x
%02x\n",
%02x
%02x
66
%02x\n",
%02x\n",
D20_SW_PORT\n");