usbfw_if.c

来自「The combined demo is dedicated for S1C33」· C语言 代码 · 共 42 行

C
42
字号
//--------------------------------------------------------------------------------- 
//
//      Copyright (C) SEIKO EPSON CORP. 2004 
//
//      GROUP					: SEE LSI
//      FILE                    : usbfw_if.c
//      MODULE                  : usb fw interface
//      Function description    : 
//      Revision history        :                                                                                               
//                                Date            userName        	Description
//                                2004/04/15      David		      	start
//
//      Notes                   : 
//
//---------------------------------------------------------------------------------

//---------------------------------------------------------------------------------
// Include files (#include)
//---------------------------------------------------------------------------------
#include	"usbfw_if.h"

//---------------------------------------------------------------------------------
// Function prototypes
//---------------------------------------------------------------------------------
void InitIFData(void);

//---------------------------------------------------------------------------------
// external variables
//---------------------------------------------------------------------------------
USBFW_IF_REQ	g_UsbIFReq ;
USBFW_IF_ANS 	g_UsbIFAns ;

extern unsigned int alrdy_attach ;
									
void InitIFData(void)
{
	memset(&g_UsbIFReq, 0x0, sizeof(USBFW_IF_REQ));
	memset(&g_UsbIFAns, 0x0, sizeof(USBFW_IF_ANS));

	alrdy_attach = 0 ;
}

⌨️ 快捷键说明

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