protozlg.h

来自「smart board 测试程序原代码」· C头文件 代码 · 共 42 行

H
42
字号
/*
   //*************************************************************************
   //
   //                  		ZLGMCU
   //				www.zlgmcu.com
   // File Name:	protozlg.h
   // Revision:		0.4(2002-07-08)
   // Author:		Liu Ying Bin
   // Use library:  USB51S.LIB
   // Note:			USB51S.LIB不带DMA控制功能
   //*************************************************************************
   */


#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

void read_write_register(void);
extern void stall_ep0(void);

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

#endif

⌨️ 快捷键说明

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