亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ezusbsys.h

?? 一個USB驅動程序
?? H
?? 第 1 頁 / 共 3 頁
字號:
//////////////////////////////////////////////////////////////////////
//
// File:      ezusbsys.h
// $Archive: /USB/Drivers/ezusbdrv/ezusbsys.h $
//
// Purpose:
//    Header file for the Ezusb USB Device Driver
//
// Environment:
//    kernel mode
//
// $Author: Mdn $
//
// $History: ezusbsys.h $           
//  
//  *****************  Version 5  *****************
//  User: Mdn          Date: 10/06/00   Time: 10:08a
//  Updated in $/USB/Drivers/ezusbdrv
//  Added IOCTL_EZUSB_SET_FEATURE
//  
//  *****************  Version 4  *****************
//  User: Mdn          Date: 8/17/00    Time: 9:46a
//  Updated in $/USB/Drivers/ezusbdrv
//  added a generic get descriptor function.
//  
//  *****************  Version 3  *****************
//  User: Mdn          Date: 8/04/00    Time: 11:40a
//  Updated in $/USB/Drivers/ezmon
//  added support for monitor download to FX2
//  
//  *****************  Version 2  *****************
//  User: Mdn          Date: 7/21/00    Time: 4:27p
//  Updated in $/USB/Drivers/ezusbdrv
//  Added a Started flag to the device extension.  This flag gets set after
//  the device has successfully Started.  It is used to prevent a potential
//  race condition where an application could get a handle (with
//  CreateFile()) before the device is completely enumerated.
//  
//  *****************  Version 1  *****************
//  User: Tpm          Date: 6/09/00    Time: 6:32p
//  Created in $/USB/Drivers/ezusbdrv
//  
//  *****************  Version 30  *****************
//  User: Tpm          Date: 3/14/00    Time: 4:14p
//  Updated in $/EzUsb/Examples/Unsupported/EzMr
//  Added commets:
//  DEVIOCTL.H is a Microsoft header file.
//  DEVIOCTL.H is normally obtained by installing the Windows DDK.
//  
//  *****************  Version 29  *****************
//  User: Markm        Date: 5/18/99    Time: 3:37p
//  Updated in $/EzUsb/Drivers/ezusbdrv
//  
//  *****************  Version 28  *****************
//  User: Markm        Date: 2/23/99    Time: 9:50a
//  Updated in $/EzUsb/Drivers/ezusbdrv
//  Driver now supports ISO IN streaming with a path to user mode.
//  
//  *****************  Version 27  *****************
//  User: Markm        Date: 2/10/99    Time: 3:32p
//  Updated in $/EzUsb/Drivers/ezusbdrv
//  removed lots of unused protoypes and structures.  Added ring buffer
//  support functions.
//  
//  *****************  Version 26  *****************
//  User: Markm        Date: 2/01/99    Time: 11:57a
//  Updated in $/EzUsb/Drivers/ezusbdrv
//  Added preliminary support for ISO streaming.
//  
//  *****************  Version 25  *****************
//  User: Tpm          Date: 10/19/98   Time: 3:45p
//  Updated in $/EzUsb/Examples/CTst
//  Fix RMA#1 bug: side B fails renum.
//  
//  *****************  Version 24  *****************
//  User: Tpm          Date: 10/01/98   Time: 11:51p
//  Updated in $/EzUsb/Examples/Unsupported/EzMr
//  Apply Tim's Comments.
//  
//  *****************  Version 23  *****************
//  User: Tpm          Date: 6/26/98    Time: 10:27a
//  Updated in $/EzUsb/Examples/EzMr
//  Set Version.
//  
//  *****************  Version 22  *****************
//  User: Tpm          Date: 6/26/98    Time: 5:41a
//  Updated in $/EzUsb/Examples/EzMr
//  Pre-Build.
//  
//  *****************  Version 21  *****************
//  User: Tpm          Date: 6/26/98    Time: 4:01a
//  Updated in $/EzUsb/Examples/CTst
//  Clean Build.
//  
//  *****************  Version 20  *****************
//  User: Tpm          Date: 6/26/98    Time: 2:41a
//  Updated in $/EzUsb/Examples/EzMr
//  Clean Build.
//  
//  *****************  Version 19  *****************
//  User: Tpm          Date: 6/25/98    Time: 1:09p
//  Updated in $/EzUsb/EzMr
//  Add Headers.
//  
//  *****************  Version 18  *****************
//  User: Tpm          Date: 6/25/98    Time: 10:50a
//  Updated in $/EzUsb/EzMr
//  REL1.1.
//  
//  *****************  Version 17  *****************
//  User: Markm        Date: 4/09/98    Time: 3:01p
//  Updated in $/EZUSB/ezusb driver
//  Added stuff to support download of Intel Hex records.
//  
//  *****************  Version 16  *****************
//  User: Markm        Date: 4/07/98    Time: 1:53p
//  Updated in $/EZUSB/ezusb driver
//  Added IOCTL_EZUSB_GET_DRIVER_VERSION
//  
//  *****************  Version 15  *****************
//  User: Markm        Date: 4/06/98    Time: 4:27p
//  Updated in $/EZUSB/ezusb driver
//  Modified ISO transfer code.
//  * Transfer descriptors for the ISO transfer are now sent up to the
//  caller along with the actual data, so the caller can get the status of
//  the transfer on a packet-by-packet basis. 
//  * Disabled default values.  Caller must specify all fields in the ISO
//  control structure.
//  * Corrected bug where the Stream and Transfer objects weren't being
//  freed.
//  
//  Added some code to measure the latency of a bulk transfer.
//  
//  *****************  Version 14  *****************
//  User: Markm        Date: 3/19/98    Time: 10:13a
//  Updated in $/EZUSB/ezusb driver
//  Added IOCTL_EZUSB_ANCHOR_DOWNLOAD to support A0 loads to a specific
//  memory offset.
//  
//  *****************  Version 13  *****************
//  User: Markm        Date: 2/26/98    Time: 4:05p
//  Updated in $/EZUSB/ezusb driver
//  Added protoypes for anchor download and 8051 reset functions.
//  Added firmware structure definition.
//  Added some EZ-USB register defines.
//  
//  *****************  Version 11  *****************
//  User: Markm        Date: 2/11/98    Time: 9:51a
//  Updated in $/EZUSB/ezusb driver
//  Added an open file handle count to the device extension.
//  
//  *****************  Version 10  *****************
//  User: Markm        Date: 2/02/98    Time: 3:36p
//  Updated in $/EZUSB/ezusb driver
//  Added protypes for new functions
//  
//  *****************  Version 9  *****************
//  User: Markm        Date: 1/27/98    Time: 11:37a
//  Updated in $/EZUSB/ezusb driver
//  Added members to the ISO stream object to allow for user specified
//  transfer parameters.
//  
//  *****************  Version 8  *****************
//  User: Markm        Date: 1/22/98    Time: 11:52a
//  Updated in $/EZUSB/ezusb driver
//  removed unused code.
//  added IOCTL's for ISO loopback/read/write
//  
//  *****************  Version 7  *****************
//  User: Markm        Date: 1/18/98    Time: 3:18p
//  Updated in $/EZUSB/ezusb driver
//  Added new IOCTL's.  Added members to the device extension to support
//  robust device removal.
//  
//  *****************  Version 6  *****************
//  User: Markm        Date: 1/14/98    Time: 10:30a
//  Updated in $/EZUSB/ezusb driver
//  Added IOCTL's  for handling bulk transfers.
//  
//  *****************  Version 5  *****************
//  User: Markm        Date: 1/02/98    Time: 1:41p
//  Updated in $/EZUSB/ezusb driver
//  Added support for setting the interface, preliminary code for naming
//  pipes, get string descriptor
//  
//  *****************  Version 4  *****************
//  User: Markm        Date: 11/18/97   Time: 3:21p
//  Updated in $/EZUSB/ezusb driver
//  added abort pipe IOCTL
//  
//  *****************  Version 3  *****************
//  User: Markm        Date: 11/14/97   Time: 4:31p
//  Updated in $/EZUSB/ezusb driver
//  added code to experiment wth different methods of switiching
//  interfaces.
//  
//  *****************  Version 2  *****************
//  User: Markm        Date: 11/07/97   Time: 1:21p
//  Updated in $/EZUSB/ezusb driver
//  Added Reset Pipe IOCTL
//  
// Copyright (c) 1997 Anchor Chips, Inc.  May not be reproduced without
// permission.  See the license agreement for more details.
//
//////////////////////////////////////////////////////////////////////

//
// Vendor specific request code for Anchor Upload/Download
//
// This one is implemented in the core
//
#define ANCHOR_LOAD_INTERNAL  0xA0

//
// These commands are not implemented in the core.  Requires firmware
//
#define ANCHOR_LOAD_EXTERNAL  0xA3
#define ANCHOR_ISFX2          0xAC

//
// This is the highest internal RAM address for the AN2131Q
//
#define MAX_INTERNAL_ADDRESS  0x1B3F

#define INTERNAL_RAM(address) ((address <= MAX_INTERNAL_ADDRESS) ? 1 : 0)
//
// EZ-USB Control and Status Register.  Bit 0 controls 8051 reset
//
#define CPUCS_REG_EZUSB    0x7F92
#define CPUCS_REG_FX2      0xE600


#ifndef _BYTE_DEFINED
#define _BYTE_DEFINED
typedef unsigned char BYTE;
#endif // !_BYTE_DEFINED

#ifndef _WORD_DEFINED
#define _WORD_DEFINED
typedef unsigned short WORD;
#endif // !_WORD_DEFINED

typedef struct _VENDOR_REQUEST_IN
{
    BYTE    bRequest;
    WORD    wValue;
    WORD    wIndex;
    WORD    wLength;
    BYTE    direction;
    BYTE    bData;
} VENDOR_REQUEST_IN, *PVENDOR_REQUEST_IN;

///////////////////////////////////////////////////////////
//
// control structure for bulk and interrupt data transfers
//
///////////////////////////////////////////////////////////
typedef struct _BULK_TRANSFER_CONTROL
{
   ULONG pipeNum;
} BULK_TRANSFER_CONTROL, *PBULK_TRANSFER_CONTROL;

typedef struct _BULK_LATENCY_CONTROL
{
   ULONG bulkPipeNum;
   ULONG intPipeNum;
   ULONG loops;
} BULK_LATENCY_CONTROL, *PBULK_LATENCY_CONTROL;


///////////////////////////////////////////////////////////
//
// control structure isochronous loopback test
//
///////////////////////////////////////////////////////////
typedef struct _ISO_LOOPBACK_CONTROL
{
   // iso pipe to write to
   ULONG outPipeNum;

   // iso pipe to read from
   ULONG inPipeNum;

   // amount of data to read/write from/to the pipe each frame.  If not
   // specified, the MaxPacketSize of the out pipe is used.
   ULONG packetSize;

} ISO_LOOPBACK_CONTROL, *PISO_LOOPBACK_CONTROL;

///////////////////////////////////////////////////////////
//
// control structure for sending vendor or class specific requests
// to the control endpoint.
//
///////////////////////////////////////////////////////////
typedef struct _VENDOR_OR_CLASS_REQUEST_CONTROL
{
   // transfer direction (0=host to device, 1=device to host)
   UCHAR direction;

   // request type (1=class, 2=vendor)
   UCHAR requestType;

   // recipient (0=device,1=interface,2=endpoint,3=other)
   UCHAR recepient;
   //
   // see the USB Specification for an explanation of the
   // following paramaters.
   //
   UCHAR requestTypeReservedBits;
   UCHAR request;
   USHORT value;
   USHORT index;
} VENDOR_OR_CLASS_REQUEST_CONTROL, *PVENDOR_OR_CLASS_REQUEST_CONTROL;

typedef struct _SET_FEATURE_CONTROL
{
   USHORT FeatureSelector;
   USHORT Index;
} SET_FEATURE_CONTROL, *PSET_FEATURE_CONTROL;

///////////////////////////////////////////////////////////
//
// control structure for isochronous data transfers
//
///////////////////////////////////////////////////////////
typedef struct _ISO_TRANSFER_CONTROL
{
   //
   // pipe number to perform the ISO transfer to/from.  Direction is
   // implied by the pipe number.
   //
   ULONG PipeNum;
   //
   // ISO packet size.  Determines how much data is transferred each
   // frame.  Should be less than or equal to the maxpacketsize for
   // the endpoint.
   //
   ULONG PacketSize;
   //
   // Total number of ISO packets to transfer.
   //
   ULONG PacketCount;
   //
   // The following two parameters detmine how buffers are managed for
   // an ISO transfer.  In order to maintain an ISO stream, the driver
   // must create at least 2 transfer buffers and ping pong between them.
   // BufferCount determines how many buffers the driver creates to ping
   // pong between.  FramesPerBuffer specifies how many USB frames of data
   // are transferred by each buffer.
   //
   ULONG FramesPerBuffer;     // 10 is a good value
   ULONG BufferCount;         // 2 is a good value
} ISO_TRANSFER_CONTROL, *PISO_TRANSFER_CONTROL;


///////////////////////////////////////////////////////////
//
// control structure for Anchor Downloads
//
///////////////////////////////////////////////////////////
typedef struct _ANCHOR_DOWNLOAD_CONTROL
{
   WORD Offset;
} ANCHOR_DOWNLOAD_CONTROL, *PANCHOR_DOWNLOAD_CONTROL;

#define MAX_INTEL_HEX_RECORD_LENGTH 16

typedef struct _INTEL_HEX_RECORD
{
   BYTE  Length;
   WORD  Address;
   BYTE  Type;
   BYTE  Data[MAX_INTEL_HEX_RECORD_LENGTH];
} INTEL_HEX_RECORD, *PINTEL_HEX_RECORD;

typedef struct _SET_INTERFACE_IN
{
   UCHAR interfaceNum;
   UCHAR alternateSetting;
} SET_INTERFACE_IN, *PSET_INTERFACE_IN;

typedef struct _GET_STRING_DESCRIPTOR_IN

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久久久9999| 91.com视频| 亚洲图片激情小说| av不卡在线观看| 亚洲图片欧美综合| 制服.丝袜.亚洲.中文.综合| 美国毛片一区二区| 久久久综合网站| 97久久精品人人做人人爽50路| 亚洲精品久久7777| 欧美日韩dvd在线观看| 韩国精品一区二区| 中文一区二区完整视频在线观看| 99国产精品视频免费观看| 亚洲午夜一区二区| 2020国产精品自拍| 91亚洲国产成人精品一区二三| 亚洲成人av中文| 久久久久国产精品麻豆ai换脸| 色综合色综合色综合| 婷婷成人激情在线网| 久久久不卡网国产精品二区| 91丨porny丨中文| 日本美女视频一区二区| 欧美国产成人在线| 欧美精品一二三| 国产福利一区二区三区视频 | 在线成人小视频| 国产成人在线免费观看| 亚洲狠狠爱一区二区三区| 欧美va亚洲va| 色悠悠亚洲一区二区| 日本vs亚洲vs韩国一区三区二区 | 欧美影视一区在线| 久久国产日韩欧美精品| 亚洲视频 欧洲视频| 欧美精品 国产精品| 成人av在线一区二区三区| 夜夜嗨av一区二区三区四季av| 精品成a人在线观看| 日本道在线观看一区二区| 精品中文字幕一区二区| 亚洲综合一区二区三区| 国产亚洲精品超碰| 欧美一区二区在线免费观看| 97精品超碰一区二区三区| 极品美女销魂一区二区三区免费| 亚洲激情综合网| 欧美国产在线观看| 精品少妇一区二区三区在线播放 | 欧美一级理论片| 91丨porny丨户外露出| 国产一区美女在线| 日韩av在线播放中文字幕| 亚洲欧美激情视频在线观看一区二区三区 | 欧美日韩视频在线一区二区 | 国产白丝网站精品污在线入口| 日韩av中文字幕一区二区| 亚洲综合999| 亚洲欧洲成人精品av97| 国产日本一区二区| 久久无码av三级| 欧美成人精精品一区二区频| 91精品久久久久久蜜臀| 国产欧美一区视频| 精品美女在线观看| 欧美一区二区免费观在线| 欧美三级在线播放| 99久久99精品久久久久久| 成人永久aaa| 国产精品1024| 成人精品国产一区二区4080| 懂色av一区二区三区蜜臀| 国产精品一级黄| 国产中文字幕一区| 国内精品视频666| 国产一区二区美女诱惑| 国产一区二区三区免费看| 经典三级在线一区| 国产成人精品免费在线| 粉嫩高潮美女一区二区三区| 丁香婷婷综合激情五月色| 懂色中文一区二区在线播放| 成人夜色视频网站在线观看| www.亚洲在线| 一本大道久久a久久综合| 在线中文字幕不卡| 欧美日韩国产经典色站一区二区三区| 欧美私模裸体表演在线观看| 欧美精品一二三区| 精品美女一区二区| 国产欧美精品一区aⅴ影院| 国产精品美女久久久久高潮| 亚洲精品国产精华液| 午夜精品视频在线观看| 美女久久久精品| 国产成人精品影视| 91女厕偷拍女厕偷拍高清| 欧美色视频一区| 欧美xxxx在线观看| 综合久久国产九一剧情麻豆| 一区二区免费在线| 蜜桃91丨九色丨蝌蚪91桃色| 福利一区福利二区| 欧美网站大全在线观看| 日韩美女主播在线视频一区二区三区| 久久久久国产免费免费 | 美女视频网站黄色亚洲| 国产一区二区成人久久免费影院 | 中文在线一区二区 | 婷婷久久综合九色国产成人 | 秋霞影院一区二区| 国产成人在线色| 欧美色倩网站大全免费| 精品国产免费久久| 亚洲免费观看高清| 蜜桃免费网站一区二区三区| av资源网一区| 日韩免费观看高清完整版| 国产精品久久久久久久久图文区| 亚洲成人tv网| 成人动漫视频在线| 91精品久久久久久久久99蜜臂| 国产亚洲福利社区一区| 午夜欧美在线一二页| 国产成人啪午夜精品网站男同| 欧美日韩国产另类一区| 国产精品国产精品国产专区不蜜 | 一本一本久久a久久精品综合麻豆| 9191久久久久久久久久久| 欧美国产一区二区在线观看| 香蕉乱码成人久久天堂爱免费| 国产成人在线视频网站| 日韩欧美一级二级| 中文字幕精品一区二区精品绿巨人| 午夜精品影院在线观看| 免费高清视频精品| 91成人免费网站| 色综合咪咪久久| 久久男人中文字幕资源站| 五月天激情小说综合| bt7086福利一区国产| 久久久久久久电影| 日韩精品成人一区二区在线| 91久久精品国产91性色tv| 国产日韩欧美制服另类| 免费成人性网站| 欧美日韩国产在线观看| 综合av第一页| 成人av高清在线| 久久精品夜夜夜夜久久| 日本精品一级二级| 欧美国产精品中文字幕| 国内不卡的二区三区中文字幕| 欧美久久久久中文字幕| 亚洲一区视频在线| 色婷婷激情综合| 亚洲视频一区二区在线观看| 豆国产96在线|亚洲| 欧美极品美女视频| 国产91精品入口| 中文字幕第一区二区| 国产福利一区二区三区在线视频| 久久一区二区视频| 国产一区二区三区香蕉| 2024国产精品| 国产一区二区按摩在线观看| 精品日韩一区二区三区| 韩国成人福利片在线播放| 亚洲精品一区二区三区蜜桃下载| 麻豆国产一区二区| 久久久久久**毛片大全| 国产精品2024| 国产精品久久久久一区| 一本久久综合亚洲鲁鲁五月天| 亚洲色图在线看| 在线免费亚洲电影| 亚洲成人自拍网| 91麻豆精品国产91久久久使用方法 | 国产精品网站在线播放| 成人综合在线网站| 亚洲视频网在线直播| 在线看不卡av| 日韩黄色免费电影| 久久综合狠狠综合久久激情| 国产精品亚洲成人| 亚洲精品视频在线观看免费| 欧美三级日韩三级国产三级| 奇米精品一区二区三区在线观看一| 欧美电影免费观看高清完整版在线观看| 久久99日本精品| 国产精品午夜免费| 欧美少妇xxx| 精品在线免费观看| 国产精品毛片久久久久久| 色综合久久中文综合久久97 | 一区二区三区精密机械公司| 欧美精品乱人伦久久久久久| 国产精品中文字幕日韩精品| 亚洲色图视频网站|