6F8C0904
67
5.2 Sample Computer Link Protocol Program
5
/**************************************************************************************************************/
/*
*/
/* Sample program implementing register read/write using the computer link protocol
*/
/*
*/
/*
*/
/* This program is a sample program designed to verify the T3H Ethernet module computer
*/
/* link function.
*/
/* This program issues read/write requests to the specified T3H registers.
*/
/* Also note that registers in other stations can be accessed by modifying the SAMPLE.H
*/
/* definition file.
*/
/*
*/
/*
*/
/*
*/
/* (C) Copyright TOSHIBA Corporation 1995
*/
/* All Rights Reserved
*/
/*
*/
/**************************************************************************************************************/
/*---------------------------*/
/* Include declarations */
/*---------------------------*/
#define WIN31
/* Windows 3.1 application
*/
#define USECOMM
/* COMM API is required
*/
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <memory.h>
#include <sys
\
types.h>
#include <fcntl.h>
#include <errno.h>
#include <sys
\
socket.h>
#include <sys
\
timeb.h>
#include <time.h>
#include <sys
\
in.h>
#include <sys
\
netdb.h>
#include "sample.h"
Содержание V Series
Страница 1: ...6F8C0904 Integrated Controller V Series Ethernet module EN311 User s Manual Sep 30 2004 ...
Страница 12: ......
Страница 16: ......
Страница 34: ......
Страница 40: ......
Страница 106: ......
Страница 180: ......
Страница 199: ...6F8C0904 179 7 5 RAS Information Readout 7 Figure 7 1 Packet Format IP Datagram ...
Страница 200: ...180 Ethernet module User s Manual Chapter 7 RAS Information 7 ...
Страница 224: ......
Страница 240: ......
Страница 244: ......
Страница 248: ......
Страница 250: ......
Страница 256: ......
Страница 258: ......