代码搜索结果
找到约 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.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.c
#include
#include
#include
#include
#include
#include
#include
int aiptoi(char * pszip,unsigned int* pii
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 _ethernet_H_
#define _ethernet_H_
typedef unsigned int regaddress;
#define BUFLENTH 768
#define TIME_OUT 0x10000000
#define Baseaddress 0x2000000
#define reg10 Bas
ethernet.c
#include "..\inc\44b.h"
#include "..\inc\44blib.h"
#include "..\inc\def.h"
#include "..\inc\option.h"
#include "..\inc\ethernet.h"
short read ( short offset );
void write( short offs