CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 59
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
7.SAMPLE PROGRAM APP_INT.C
The following listing is the actual program distributed with ControLink86, and it is an interrupt based
demonstration application. This is the file APP_INT.C
/*********************************************************************/
/*-------------------------------------------------------------------*/
/*
/*-------------------------------------------------------------------*/
/* Module:
/* Filename:
/* Description:
/*
/* Compiler:
/* Target system: PC-AT platform
/* Target O.S.:
/*********************************************************************/
/*=== INCLUDE FILES =======================================================*/
/* standard libraries */
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <dos.h>
#include <string.h>
/* compiler specific includes */
#include <msc.h>
/* arcnet specific defines */
#include <arcdef.h>
#include <llc.h>
/* function declarations */
#include <d20.h>
#include <llc1.h>
/*=== DEFINITIONS =========================================================*/
/* display */
#define CLRSCR printf("\x1B[2J")
/*=== CHARACTER ARRAYS ====================================================*/
static char *par_names[ ] = {
STANDARD MICROSYSTEMS CORPORATION
Uses the interrupt mode of D20 driver
ControLink Test Program
app_int.c
Microsoft C ver. 7.00 (Visual C++)
Example program to exercise ControLink functions
MS-DOS + ANSI.SYS loaded
"D20_BASE_LSB",
"D20_BASE_MSB",
"D20_BUS_8_16",
"D20_CLOCK_RATE",
"D20_NODE_MODE",
"D20_SW_PORT",
"D20_INT_OR_POLL",
"D20_INT_LEVEL",
"D20_INT_MASK",
"D20_INT_EOI",
"D20_IMR",
"D20_RETRIES",
"D20_DISABLE_TX",
"D20_WRITE_ACK",
"D20_WAIT_TA",
"D20_IN_BUFFERS",
"D20_OUT_BUFFERS",
"D20_BROADCAST",
"D20_SHORT_LONG",
"D20_CMD_CHAIN",
"D20_NET_TIMEOUT",
"D20_BACKPLANE",
"D20_NODE_ID",
"D20_P1MODE",
/* clear screen escape sequence */
*/
59
*/
*/
*/
*/
*/
*/
*/