📄 protozlg.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 + -