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

📄 protozlg.h

📁 飞利浦USB D12的官方评估板固件代码
💻 H
字号:
/****************************************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 code void (*VendorDeviceRequest[])(void);

#endif

⌨️ 快捷键说明

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