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

📄 usbd_sampletaskapi.h

📁 epson usb2.0 控制芯片 S1R72V05 固件程序。
💻 H
字号:
/*
 *	description	: DeviceSample Task APIs
 *	Maker		: Shuichi.Yanagihara
 *	Copyright	: (C)2005,SEIKO EPSON Corp. All Rights Reserved.
 */

#ifndef USBD_SAMPLE_API_H
#define USBD_SAMPLE_API_H

#ifdef __cplusplus
	extern "C" {
#endif /* cplusplus */


//==========================================================================//
//																			//
//						  Define Declaration							 //
//																			//
//==========================================================================//

//----------------------------------------------------------------------------
// DeviceSample_Active() CallBack type
//----------------------------------------------------------------------------
typedef void (*USBD_SAMPLE_PFN_CALLBACK_PROC) ( unsigned long message, unsigned long param0, void* pParam );

//----------------------------------------------------------------------------
// DeviceSample Task state
//----------------------------------------------------------------------------
#define USBD_SAMPLE_STATE_NON_EXISTENT		(0x01)		// Unregistered state
#define USBD_SAMPLE_STATE_STOP				(0x02)		// Stop state
#define USBD_SAMPLE_STATE_ACTIVE			(0x03)		// Operation state

//----------------------------------------------------------------------------
// CallBack Message
//----------------------------------------------------------------------------


//==========================================================================//
//																			//
//							 Structure Declaration						 //
//																			//
//==========================================================================//


//==========================================================================//
//																			//
//					   DeviceSample Applicasion Interface					  //
//																			//
//==========================================================================//

extern long USBD_Sample_Create ( void );
extern long USBD_Sample_Delete ( void );
extern long USBD_Sample_Active ( USBD_SAMPLE_PFN_CALLBACK_PROC pfnCallbackProc );
extern long USBD_Sample_Inactive ( void );

#ifdef __cplusplus
	}
#endif /* cplusplus */

#endif /* USBD_SAMPLE_API_H */

⌨️ 快捷键说明

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