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

📄 chap_9.h

📁 此為philip 1362 USB DOS下的驅動程式包, 已經共測試並內含有說明文件
💻 H
字号:
/*
   //*************************************************************************
   //
   //                  P H I L I P S   P R O P R I E T A R Y
   //
   //           COPYRIGHT (c)   2000 BY PHILIPS SINGAPORE.
   //                     --  ALL RIGHTS RESERVED  --
   //
   // File Name:		CHAP_9.H
   // Author:			ZhenYu Zhang
   // Created:        	Jun. 8, 2000
   // Modified:
   // Revision:			0.0
   //
   //*************************************************************************
   //
   //*************************************************************************
*/


#ifndef __CHAP_9_H__
#define __CHAP_9_H__

//#include "BasicTyp.h"

/*
   //*************************************************************************
   // basic #defines
   //*************************************************************************
*/

#define USB_CLASS_CODE_UNKNOWN                              0x00
#define USB_SUBCLASS_CODE_UNKNOWN		                    0x00
#define USB_PROTOCOL_CODE_UNKNOWN							0x00

#define MAX_ENDPOINTS      0x0F

/*
   //*************************************************************************
   // USB Protocol Layer
   //*************************************************************************
*/

/*
   //*************************************************************************
   // USB standard device requests
   //*************************************************************************
*/
void Chap9_GetStatus(void);
void Chap9_ClearFeature(void);
void Chap9_SetFeature(void);
void Chap9_SetAddress(void);
void Chap9_GetDescriptor(void);
void Chap9_GetConfiguration(void);
void Chap9_SetConfiguration(void);
void Chap9_GetInterface(void);
void Chap9_SetInterface(void);

/*
   //*************************************************************************
   // Chap9 support functions
   //*************************************************************************
*/
void Chap9sup_BurstTransmitEP0(PUSHORT pData, USHORT wLength);
void Chap9sup_SingleTransmitEP0(PUSHORT ptrBuf, USHORT wLength);
void Chap9sup_StallEP0InControlRead(void);
void Chap9sup_StallEP0InControlWrite(void);
void Chap9sup_StallEP0(void);


#endif

⌨️ 快捷键说明

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