protozlg.h

来自「ARM开发板上做的U盘的源码,包含项目文件,直接打开就可以,希望对你的开发有帮助」· C头文件 代码 · 共 46 行

H
46
字号
/****************************************Copyright (c)**************************************************
**                               广州周立功单片机发展有限公司
**                                     研    究    所
**                                        产品一部 
**
**                                 http://www.zlgmcu.com
**
** 文   件   名: Protozlg.c
** 最后修改日期: 2004年11月15日
** 描        述: USB驱动程序软件包: PDIUSBD12 厂商请求头文件
** 版	     本: V5.0
**********************************************************************************************************/

#ifndef __PROTOZLG_H__
#define __PROTOZLG_H__

/*
 *************************************************************************
    USB vendor device requests
 *************************************************************************
*/
#define SETUP_DMA_REQUEST 		0x0471
#define GET_FIRMWARE_VERSION    0x0472
#define GET_SET_TWAIN_REQUEST   0x0473
#define GET_BUFFER_SIZE		    0x0474

//计数器
typedef union _byte_count 
{
	struct _bytes
	{
		unsigned char high;
		unsigned char low;
	}byte;
	unsigned int word;
}byte_count ;

extern byte_count byte_cnt;
extern void read_write_register(void);
extern void (*VendorDeviceRequest[])(void);
extern void get_maxlun(void);
extern void bulk_only_reset(void);
extern void (*ClassDeviceRequest[])(void);

#endif

⌨️ 快捷键说明

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