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

📄 usbh_sampletaskapi.h

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

#ifndef USBH_SAMPLE_API_H
#define USBH_SAMPLE_API_H

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


//==========================================================================//
//                                                                          //
//                         Define declaration								//
//                                                                          //
//==========================================================================//

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

//----------------------------------------------------------------------------
// HostSample Task state
//----------------------------------------------------------------------------
#define USBH_SAMPLE_STATE_NON_EXISTENT		(0x01)		// Unregistered state
#define USBH_SAMPLE_STATE_STOP				(0x02)		// Stop state
#define USBH_SAMPLE_STATE_ACTIVE			(0x03)		// Active state

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


//==========================================================================//
//                                                                          //
// 							Structure definition						//
//                                                                          //
//==========================================================================//


//==========================================================================//
//                                                                          //
//                     HostSample Applicasion Interface                     //
//                                                                          //
//==========================================================================//

extern long USBH_Sample_Create ( void );
extern long USBH_Sample_Delete ( void );
extern long USBH_Sample_Active ( USBH_SAMPLE_PFN_CALLBACK_PROC pfnCallbackProc );
extern long USBH_Sample_Inactive ( void );

#ifdef __cplusplus
	}
#endif /* cplusplus */

#endif /* USBH_HOST_SAMPLE_API_H */

⌨️ 快捷键说明

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