usbh_hcds_channel.h

来自「epson usb2.0 控制芯片 S1R72V05 固件程序。」· C头文件 代码 · 共 40 行

H
40
字号
/*
 *	description: USBH HCD Channel Management Definition
 *	Maker	   : Hiromichi Kondo
 *	Copyright  : (C)2005,SEIKO EPSON Corp. All Rights Reserved.
 */


#ifndef USBH_HCD_CH_H
#define USBH_HCD_CH_H

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

#include <usbh_hcds_72V05.h>

/*****************************************
 * Define definition
 *****************************************/
#define USBH_HCDS_CH_NUM_USB_CH					USBH_HCDS_HC_NUM_USB_CH
#define USBH_HCDS_CH_TYPE_CTRL					(1)
#define USBH_HCDS_CH_TYPE_BULK					(2)
#define USBH_HCDS_CH_TYPE_INT					(3)
#define USBH_HCDS_CH_TYPE_ISO					(4)
#define USBH_HCDS_CH_TYPE_STRG					(5)

/*****************************************
 * Function prototype declaration
 *****************************************/
extern void USBH_HCDS_CHInit( void );
extern long USBH_HCDS_CHAlloc( unsigned char *pCHNum, unsigned char type, unsigned long size );
extern long USBH_HCDS_CHTranGo( USBH_HCD_URB *psUrb, unsigned char chNum, CALLBACK_PROC pfnCallback );
extern long USBH_HCDS_CHTranCancel( USBH_HCD_URB *psUrb, unsigned char chNum );

#ifdef __cplusplus
	}
#endif /* cplusplus */

#endif /* USBH_HCD_CH_H */

⌨️ 快捷键说明

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