代码搜索结果
找到约 10,000 项符合
Ethernet 的代码
ethernet.h
#ifndef __ETHERNET_H__
#define __ETHERNET_H__
#include "71x_lib.h"
// Ports for I/O-Mode
#define ETH_Port(n) (*(vu16*)(0x64000000 | (n)
ethernet.c
#include "Ethernet.h"
u16 local_eth_addr[3] = {0x4422, 0x8866, 0xCCAA};
inline u16 NIC_InPort(u16 reg)
{
ETH_Addr_Port = reg;
return ETH_Data_Port;
}
inline void NIC_OutPort(u16 reg, u1
ethernet.ews
# Embest IDE Workspace File, Format Version 1.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
CORE_INFO_TYPE
Workspace
CORE_INFO_VERSION
1.00
ethernet.pjf
# Embest IDE Project File, Format Version 1.00
# WARNING: DO NOT EDIT OR DELETE THIS PROJECT FILE!
PROJECT_NAME
Ethernet
CONFIG
CPU
MODULE=arm7.DLL
FAMIL
ethernet.h
#ifndef __INTERNET_ETHERNET_H__
#define __INTERNET_ETHERNET_H__
#include "..\inc\def.h"
#define Ethernet_Reg00 (*(volatile unsigned short int*)0x0a000600)
#define Ethernet_Reg01 (*(volatile
ethernet.c
#define ETHERNET_GLOBALS
#include "config.h"
#include "../include/cfg_net.h"
uint8 My_Ip_1ID[4]=MY_IP_1ID;
uint8 My_Gateway_1ID[4]=MY_GATEWAY_1ID;
uint8 MY_IP_MARK_1ID[4]=IP_MARK_1ID;
uint8 MY
ethernet.h
#ifdef ETHERNET_GLOBALS
#define ETHERNET_EXT
#else
#define ETHERNET_EXT extern
#endif
#define IP_PACKED 0x01
#define ARP_PACKED 0x02
#define MAX_NET_PORT 0x01
typedef struct {
ethernet.c
#define ETHERNET_GLOBALS
#include "config.h"
#include "../include/cfg_net.h"
uint8 My_Ip_1ID[4]=MY_IP_1ID;
uint8 My_Gateway_1ID[4]=MY_GATEWAY_1ID;
uint8 MY_IP_MARK_1ID[4]=IP_MARK_1ID;
uint8 MY
ethernet.h
#ifdef ETHERNET_GLOBALS
#define ETHERNET_EXT
#else
#define ETHERNET_EXT extern
#endif
#define IP_PACKED 0x01
#define ARP_PACKED 0x02
#define MAX_NET_PORT 0x01
typedef struct {
ethernet.c
/* $Id: ethernet.c,v 1.22 2002/01/30 07:48:22 matsfg Exp $
*
* e100net.c: A network driver for the ETRAX 100LX network controller.
*
* Copyright (c) 1998-2001 Axis Communications AB.
*
* The out