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

📄 sockpd.h

📁 收集到的orion_ep93xx_wince_bsp_1-3-507 pcmcia卡驱动源码,未作测试
💻 H
字号:
//**********************************************************************
//                                                                      
// Filename: Adaptation of Microsoft supplied file for the PCMCIA driver
//                                                                      
// Description: 
//
// 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.
//
// Use of this source code is subject to the terms of the Cirrus end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to 
// use this source code. For a copy of the EULA, please see the 
// LICENSE.RTF on your install media.
//
// Copyright(c) Cirrus Logic Corporation 2002, All Rights Reserved                       
//                                                                      
//**********************************************************************


#ifndef _H_SOCKPD
#define _H_SOCKPD


extern CRITICAL_SECTION g_PCIC_Crit;


//
// Definitions for the windows properties.
//
#define PCMCIA_MEMORY_WINDOW        0
#define PCMCIA_IO_WINDOW            2
#define PCMCIA_ATTRIBUTE_WINDOW     2
#define PCMCIA_NUM_WINDOWS          3



//
// Define rate that we poll after RESET waiting for PC card to
// assert RDY.  Keep in mind that this only approximates the
// actual interval, as Sleep() may not be accurate.
//
#define PCMCIA_RDY_POLL_INT                     50
#define PCMCIA_MAX_RDY_WAIT_TIME                2000


//
// Debug related defines
//
#define ZONE_RW_NO_MSGS         // define this to turn off debug msgs in the often called access routines (lots and lots of msgs)
#define ZONE_RW_SHORT_MSGS      // define this use abbreviated debug msgs for access routines
#define ZONE_REGISTRY           DEBUGZONE(7)
#define ZONE_PDD                DEBUGZONE(8)


unsigned char PowerPCCardWrite
(
  unsigned char vccOut,
  unsigned char vpp1Out
);

UINT32 CalculatePcmciaTimings
(
    UINT32 NsSpeed
);


VOID InitSocketNoCard(void);




#endif /* _SOCKPD_H_ */

⌨️ 快捷键说明

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