cssocket.h

来自「PXA270CF卡代码」· C头文件 代码 · 共 65 行

H
65
字号
/******************************************************************************
**
**  COPYRIGHT (C) 2000, 2001 Intel Corporation.
**
**  This software as well as the software described in it is furnished under 
**  license and may only be used or copied in accordance with the terms of the 
**  license. The information in this file is furnished for informational use 
**  only, is subject to change without notice, and should not be construed as 
**  a commitment by Intel Corporation. Intel Corporation assumes no 
**  responsibility or liability for any errors or inaccuracies that may appear 
**  in this document or any software that may be provided in association with 
**  this document. 
**  Except as permitted by such license, no part of this document may be 
**  reproduced, stored in a retrieval system, or transmitted in any form or by 
**  any means without the express written consent of Intel Corporation. 
**
**  FILENAME:       cssocket.h
**
**  PURPOSE:        This header file contains the socket definitions and
**                  structures used by Card Services.
**
**  LAST MODIFIED:  $Modtime: 7/17/03 1:01p $
******************************************************************************/
#ifndef _cssocket_h
#define _cssocket_h

typedef enum SocketCardTypeE {
    SocketMemory = 1,
    SocketIO,
    SocketCompact
} SocketCardTypeT;

typedef enum SocketCallbackTypeE {
    SocketStatusChange = 1
} SocketCallbackTypeT;

typedef enum SocketLevelTypeE {
    SocketLevelOff,
    SocketLevel3V,
    SocketLevel5V,
    SocketLevel12V
} SocketLevelTypeT;

typedef enum SocketStatusTypeE {
    SocketCardDetect,
    SocketCardEnabled,
    SocketBatteryWeak,
    SocketBatteryDead,
    SocketCardReady,
    SocketWriteProtect
} SocketStatusTypeT;

typedef struct SocketStatusS {
    INT type;
    INT vccLevel;
    INT vppLevel;
    INT stateMask;
    INT intVector;
    PVOID attSpaceP;
    PVOID ioSpaceP;
    PVOID memSpaceP;
} SocketStatusT;

#endif // _cssocket_h

⌨️ 快捷键说明

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