chipint.h
来自「mcf5307实验源代码」· C头文件 代码 · 共 59 行
H
59 行
/****************************************************************************/
/* */
/* Copyright (c) 1993 by Accelerated Technology, Inc. */
/* */
/* PROPRIETARY RIGHTS of Accelerated Technology are involved in the subject */
/* matter of this material. All manufacturing, reproduction, use and sales */
/* rights pertaining to this subject matter are governed by the license */
/* agreement. The recipient of this software implicity accepts the terms */
/* of the license. */
/* */
/****************************************************************************/
/****************************************************************************/
/* */
/* FILENAME VERSION */
/* */
/* chipint 1.0G1.A */
/* */
/* DESCRIPTION */
/* */
/* This include file will hold all the specific defines, structures and */
/* offset values for overlaying and manipulating the Ethernet chip(s) or */
/* TCP/IP board(s) being used. */
/* */
/* DATA STRUCTURES */
/* */
/* global compenent data stuctures defined in this file */
/* */
/* FUNCTIONS */
/* */
/* functions defined in this file */
/* */
/* DEPENDENCIES */
/* */
/* other file dependencies */
/* */
/* HISTORY */
/* */
/* NAME DATE REMARKS */
/* */
/* */
/****************************************************************************/
#ifndef CHIPINT_H
#include "target.h"
#define TRANS_OK 1
#define TRANS_FAILED 0
/* This file should contain defines necessary to access the network
* hardware. */
#define IS_TRANS_ERROR 0x08 /* set if lots of collisions, FIFO underrun */
#define IS_RECV_ERROR 0x04 /* set if CRC, frame align., FIFO overrun, missed packet */
#define IS_TRANS_OK 0x02 /* set if packet transmitted ok */
#define IS_RECV_OK 0x01 /* set if packet recieved ok */
#endif /* CHIPINT_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?