⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ethdrv.h

📁 Windows CE 6.0 BSP for VOIPAC Board (PXA270) Version 2b.
💻 H
字号:
//
//  Header:  ethdrv.h
//
//  This header file contains prototypes for ethernet KITL devices drivers
//  implemented in common library. For function prototypes see oal_kilt.h
//  header file. Device driver for SoC specific silicon are defined in
//  corresponding xxx_ethdrv.h header file in SoC subdirectory.
//
#ifndef __ETHDRV_H
#define __ETHDRV_H

#if __cplusplus
extern "C" {
#endif

//------------------------------------------------------------------------------
// Prototypes for DM9000

BOOL   DM9000Init(UINT8 *pAddress, UINT32 offset, UINT16 mac[3]);
UINT16 DM9000SendFrame(UINT8 *pBuffer, UINT32 length);
UINT16 DM9000GetFrame(UINT8 *pBuffer, UINT16 *pLength);
VOID   DM9000EnableInts();
VOID   DM9000DisableInts();
VOID   DM9000CurrentPacketFilter(UINT32 filter);
BOOL   DM9000MulticastList(UINT8 *pAddresses, UINT32 count);

#define OAL_ETHDRV_DM9000   { \
    DM9000Init, NULL, NULL, DM9000SendFrame, DM9000GetFrame, \
    DM9000EnableInts, DM9000DisableInts, \
    NULL, NULL,  DM9000CurrentPacketFilter, DM9000MulticastList \
}

//------------------------------------------------------------------------------

#if __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -