dev_ep.h

来自「isp1160_isa_evel_codeUSB主机软件」· C头文件 代码 · 共 33 行

H
33
字号
/*
**  Kenobi2          version 1.3
**
**      ** This code has been made to check/learn the 1161 functionalities ** 
**      ** Release 25-Feb-2002                                             **
**
**      OKANO, Akifumi 
**      
**		Computing Segment, Semisonductors Div, Philips Japan Ltd.
**      akifumi.okano@philips.com
**      +81-3-3740-4668 
*/


#include	"tr_gene.h"

#define		venderID( x )					(((x)->dev_descriptor).idVendor)

#define		AUDIO_CLASS_INTERFACE			0x01
#define		PRINTER_CLASS_INTERFACE			0x07


device_instance		*create_device( unsigned char speed );
void				dispose_device( device_instance *dev_ptr );
void				device_list_linitialize( void );
device_instance		*find_device( unsigned char address );

unsigned short		std_request( unsigned char *buff_ptr, device_instance	*dvi_ptr, unsigned short req, unsigned short wValue, unsigned short wIndex, unsigned short *wLength );

device_instance 	*find_class_interface( unsigned char InterfaceClassID );
unsigned char		check_interface_class_ID( device_instance *dviPtr, unsigned char InterfaceClassID );

⌨️ 快捷键说明

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