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

📄 cs8950sw.h

📁 CIRRUS 公司EP93XX系列CPU的WINCE下的BSP
💻 H
字号:
//**********************************************************************
//                                                                      
// Filename: cs8950dbg.h
//                                                                      
// Description: Header routine for the CS8950 mac and 
// ethernet debugging routines.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
// Copyright(c) Cirrus Logic Corporation 2001, All Rights Reserved                       
//                                                                      
//**********************************************************************

#ifndef _CS8950SW_H_
#define _CS8950SW_H_


/* Loopback types */
#define LOOPBACK_NONE               0
#define LOOPBACK_INTERNAL_MAC       1
#define LOOPBACK_INTERNAL_PHY       2
#define LOOPBACK_PHY_COLLISION_TEST 3
#define LOOPBACK_EXTERNAL_10        4
#define LOOPBACK_EXTERNAL_100       5


//
// Prototypes for CS8950dbg.LIB functions
//
int     CS8950Init(BYTE *pbBaseAddress, DWORD dwMultiplier, USHORT MacAddr[3]);
void    CS8950EnableInts(void);
void    CS8950DisableInts(void);
DWORD   CS8950GetPendingInterrupts(void);
UINT16  CS8950GetFrame( BYTE *pbData, UINT16 *pwLength );
UINT16  CS8950SendFrame( BYTE *pbData, DWORD dwLength );
void    CS8950Disable(void);
BOOL    CS8950ReadEEPROM(UINT16 EEPROMAddress, UINT16 *pwVal);
BOOL    CS8950WriteEEPROM( UINT16 EEPROMAddress, UINT16 Data );
BOOL    CS8950DMAInit(DWORD dwPhysicalAddr, DWORD dwVirtualAddr, DWORD dwSize);



#endif /* define _CS8950SW_H_ */

⌨️ 快捷键说明

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