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

📄 iso.h

📁 飞利浦公司usb2.0芯片isp1581的通用驱动代码
💻 H
字号:
/*
   //*************************************************************************
   //
   //                  P H I L I P S   P R O P R I E T A R Y
   //
   //           COPYRIGHT (c)   2001 BY PHILIPS SINGAPORE.
   //                     --  ALL RIGHTS RESERVED  --
   //
   // File Name:	ISO.H
   // Author:		Jiang Qian
   // Created:		12 Apr 2001
   // Modified:
   // Revision:		2.0
   //
   //*************************************************************************
   //
   //*************************************************************************
*/


#ifndef __ISO_H__
#define __ISO_H__

/*
   //*************************************************************************
   // USB vendor device requests
   //*************************************************************************
*/
#define ISO_IDLE	0x00
#define ISO_IN  	0x01
#define ISO_OUT		0x02
#define ISO_LOOP	0x03
#define ISO_UNUSED4	0x04
#define ISO_UNUSED3	0x05
#define ISO_UNUSED2	0x06
#define ISO_UNUSED1	0x07

//ww true ISO: the same as above

void EnableIsoMode(void);
void ISO_CONFIG(void);
void Wait4Ns( unsigned long timeNs);
void ISOLOOP(UCHAR bINEPIndex, UCHAR bOUTEPIndex, USHORT len);
USHORT ReadISOEndpoint(UCHAR bEPIndex, USHORT ISOBuffer[512], USHORT len);
USHORT WriteISOEndpoint(UCHAR bEPIndex, USHORT ISOBuffer[512], USHORT len);
void SETUP_ISOInterrupt(void);
void CLEAR_ISOInterrupt(void);

#endif

⌨️ 快捷键说明

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