iso.h

来自「飞利浦公司usb2.0芯片isp1581的通用驱动代码」· C头文件 代码 · 共 49 行

H
49
字号
/*
   //*************************************************************************
   //
   //                  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 + =
减小字号Ctrl + -
显示快捷键?