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

📄 u_rom_data.h

📁 EPSON USB DEVICE MASS-STORAGE CLASS driver, BULK ONLY on Ram disk
💻 H
📖 第 1 页 / 共 3 页
字号:
#ifdef GLBREAL
= {
	0x12,								/* bLength */
	0x01,								/* bDescriptorType */
	W(02,00),							/* bcdUSB */
	0x00,								/* bDeviceClass */
	0x00,								/* bDeviceSubClass */
	0x00,								/* bDeviceProtocol */
	0x08,								/* bMaxPacketSize0 */
	W(04,B8),							/* idVendor */
#ifndef USBTOOL
	W(05,06),							/* idProduct	(Nikka BulkOnly) */
#else
	W(05,18),							/* idProduct	(S1R72013 ) */
#endif
	W(01,00),							/* bcdDevice */
	0x01,								/* iManufacturer */
	0x02,								/* iProduct */
	0x03,								/* iSerialNumber */
	0x01}								/* bNumConfigurations */
#endif
;
/*--- String Descriptor ----------------------------------------------------*/
GLOBALC BYTE const  string0_desc[]				/* String0 */
#ifdef GLBREAL
= {
	0x04,								/* bLength */
	0x03,								/* bDescriptorType */
	0x09,0x04}							/* LANGID */
#endif
;
GLOBALC BYTE const  string1_desc[]			/* String1 */
#ifdef GLBREAL
= {
	0x12,							/* bLength */
	0x03,							/* bDescriptorType */
	'E',0x00,						/* bString */
	'P',0x00,						
	'S',0x00,						
	'O',0x00,						
	'N',0x00,						
	' ',0x00,						
	' ',0x00,						
	' ',0x00}						
#endif
;
GLOBALC BYTE const  string2_desc[]			/* String2 */
#ifdef GLBREAL
= {
	0x46,							/* bLength */
	0x03,							/* bDescriptorType */
	'E',0x00,						/* bString */
	'P',0x00,
	'S',0x00,
	'O',0x00,
	'N',0x00,
	' ',0x00,
	'N',0x00,
	'I',0x00,
	'K',0x00,
	'K',0x00,
	'A',0x00,
	' ',0x00,
	'A',0x00,
	'T',0x00,
	'A',0x00,
	'/',0x00,
	'A',0x00,
	'T',0x00,
	'A',0x00,
	'P',0x00,
	'I',0x00,
	' ',0x00,
	'B',0x00,
	'r',0x00,
	'i',0x00,
	'd',0x00,
	'g',0x00,
	'e',0x00,
	' ',0x00,
	'(',0x00,
	'C',0x00,
	'B',0x00,
	'I',0x00,
	')',0x00}
#endif
;
GLOBALC BYTE const  string3_desc[]				/* String3 */
#ifdef GLBREAL
= {
	0x12,								/* bLength */
	0x03,								/* bDescriptorType */
	'R',0x00,							/* bString */
	'e',0x00,							
	'v',0x00,							
	'.',0x00,							
	'0',0x00,							
	'.',0x00,							
	'2',0x00,							
	'0',0x00}							
#endif
;
GLOBALC BYTE const  *string_table[]				/* String */
#ifdef GLBREAL
= {
	string0_desc,
	string1_desc,
	string2_desc,
	string3_desc
	}
#endif
;
/*--- FS Config Descriptor -------------------------------------------------*/
GLOBALC ConfigDesc const  fs_config_desc		/* FSConfiguration */
#ifdef GLBREAL
= {
	0x09,								/* bLength */
	0x02,								/* bDescriptorType */
	W(00,27),							/* wTotalLength */
	0x01,								/* bNumInterfaces */
	0x01,								/* bConfigurationValue */
	0x00,								/* iConfiguration */
#ifdef DISABLE_REMOTE_WAKEUP
	0xC0,								/* bmAttributes */
#else
	0xE0,								/* bmAttributes(Remote Wakeup Support) */
#endif
	0x31}								/* bMaxPower */
#endif
;
/*--- FS Endpoint Descriptor -----------------------------------------------*/
GLOBALC EndpointDesc const  fs_endpoint_desc[3]
#ifdef GLBREAL
= {{
	0x07,								/* bLength */
	0x05,								/* bDescriptorType */
#ifdef IODATA_HOST
	0x82,								/* bEndpointAddress */
#else
	0x81,								/* bEndpointAddress */
#endif
	0x02,								/* bmAttributes */
	W(00,40),							/* wMaxPacketSize */
	0xFF},								/* bInterval */
	/*-----------------------------------------------------------------------*/
	{									/* FSEndpoint1 */
	0x07,								/* bLength */
	0x05,								/* bDescriptorType */
#ifdef IODATA_HOST
	0x01,								/* bEndpointAddress */
#else
	0x02,								/* bEndpointAddress */
#endif
	0x02,								/* bmAttributes */
	W(00,40),							/* wMaxPacketSize */
	0xFF},								/* bInterval */
	/*-----------------------------------------------------------------------*/
	{									/* FSEndpoint2 */
	0x07,								/* bLength */
	0x05,								/* bDescriptorType */
	0x83,								/* bEndpointAddress */
	0x03,								/* bmAttributes */
	W(00,08),							/* wMaxPacketSize */
	0x01}}								/* bInterval */
#endif
;
/*--- FS Interface Descriptor ----------------------------------------------*/
GLOBALC InterfaceDesc const  fs_interface_desc[1]	/* FSInterface0 */
#ifdef GLBREAL
= {
	0x09,								/* bLength */
	0x04,								/* bDescriptorType */
	0x00,								/* bInterfaceNumber */
	0x00,								/* bAlternateSetting */
	0x03,								/* bNumEndpoints */
#ifndef USBTOOL
	0x08,								/* bInterfaceClass (Nikka CBI) */
#else
	0xFF,								/* bInterfaceClass (S1R72013 ) */
#endif
	0x05,								/* bInterfaceSubClass */
	0x00,								/* bInterfaceProtocol */
	0x00,								/* iInterface */
	fs_endpoint_desc}					/* Endpoint Descriptor */
#endif
;
#endif	/* BULKONLY or CBI */


GLOBALC WORD  const sram_init_data[]
#ifdef GLBREAL
={	0x3CEB,0x4D90,0x4453,0x534F,
	0x2E35,0x0030,0x0102,0x0006,
	0x0002,0x0002,0xF801,0x0001,
	0x0001,0x0001,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x2C29,
	0xBDAA,0x4E14,0x204F,0x414E,
	0x454D,0x2020,0x2020,0x4146,
	0x3154,0x2032,0x2020,0xC933,
	0xD18E,0xF0BC,0x8E7B,0xB8D9,
	0x2000,0xC08E,0xBDFC,0x7C00,
	0x4E38,0x7D24,0x8B24,0x99C1,
	0x3CE8,0x7201,0x831C,0x3AEB,
	0xA166,0x7C1C,0x6626,0x073B,
	0x8A26,0xFC57,0x0675,0xCA80,
	0x8802,0x0256,0xC380,0x7310,
	0x33EB,0x8AC9,0x1046,0xF798,
	0x1666,0x4603,0x131C,0x1E56,
	0x4603,0x130E,0x8BD1,0x1176,
	0x8960,0xFC46,0x5689,0xB8FE,
	0x0020,0xE6F7,0x5E8B,0x030B,
	0x48C3,0xF3F7,0x4601,0x11FC,
	0xFE4E,0xBF61,0x0000,0xE6E8,
	0x7200,0x2639,0x2D38,0x1774,
	0xB160,0xBE0B,0x7DA1,0xA6F3,
	0x7461,0x4E32,0x0974,0xC783,
	0x3B20,0x72FB,0xEBE6,0xA0DC,
	0x7DFB,0x7DB4,0xF08B,0x98AC,
	0x7440,0x480C,0x1374,0x0EB4,
	0x07BB,0xCD00,0xEB10,0xA0EF,
	0x7DFD,0xE6EB,0xFCA0,0xEB7D,
	0xCDE1,0xCD16,0x2619,0x558B,
	0x521A,0x01B0,0x00BB,0xE800,
	0x003B,0xE872,0x8A5B,0x2456,
	0x0BBE,0x8B7C,0xC7FC,0xF046,
	0x7D3D,0x46C7,0x29F4,0x8C7D,
	0x89D9,0xF24E,0x4E89,0xC6F6,
	0x9606,0xCB7D,0x03EA,0x0000,
	0x0F20,0xC8B6,0x8B66,0xF846,
	0x0366,0x1C46,0x8B66,0x66D0,
	0xEAC1,0xEB10,0x0F5E,0xC8B6,
	0x4A4A,0x468A,0x320D,0xF7E4,
	0x03E2,0xFC46,0x5613,0xEBFE,
	0x524A,0x0650,0x6A53,0x6A01,
	0x9110,0x468B,0x9618,0x3392,
	0xF7D2,0x91F6,0xF6F7,0x8742,
	0xF7CA,0x1A76,0xF28A,0xE88A,
	0xCCC0,0x0A02,0xB8CC,0x0201,
	0x7E80,0x0E02,0x0475,0x42B4,
	0xF48B,0x568A,0xCD24,0x6113,
	0x7261,0x400B,0x0175,0x0342,
	0x0B5E,0x7549,0xF806,0x41C3,
	0x00BB,0x6000,0x6A66,0xEB00,
	0x4EB0,0x4C54,0x5244,0x2020,
	0x2020,0x2020,0x0A0D,0x6552,
	0x6F6D,0x6576,0x6420,0x7369,
	0x736B,0x6F20,0x2072,0x746F,
	0x6568,0x2072,0x656D,0x6964,
	0x2E61,0x0DFF,0x440A,0x7369,
	0x206B,0x7265,0x6F72,0xFF72,
	0x0A0D,0x7250,0x7365,0x2073,
	0x6E61,0x2079,0x656B,0x2079,
	0x6F74,0x7220,0x7365,0x6174,
	0x7472,0x0A0D,0x0000,0x0000,
	0x0000,0xAC00,0xD8CB,0xAA55,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,

⌨️ 快捷键说明

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