protozlg.h

来自「用keil c和vb开发的单片机通用usb键盘」· C头文件 代码 · 共 31 行

H
31
字号



#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 + -
显示快捷键?