usbh_hcds_fifo.h

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

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


#ifndef USBH_HCD_FIFO_H
#define USBH_HCD_FIFO_H

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



/*****************************************
 * Define definition
 *****************************************/
#define USBH_HCDS_FIFO_TYPE_CTRL				(1)
#define USBH_HCDS_FIFO_TYPE_BULK				(2)
#define USBH_HCDS_FIFO_TYPE_INT					(3)
#define USBH_HCDS_FIFO_TYPE_ISO					(4)

/*****************************************
 * Structure definition
 *****************************************/
typedef struct tagUSBH_HCDS_FIFOINFO{
	unsigned long size;
	unsigned char chNum;
	unsigned char type;
}USBH_HCDS_FIFOINFO;

/*****************************************
 * Function prototype declaration
 *****************************************/
extern void USBH_HCDS_FIFOInit( void );
extern long USBH_HCDS_FIFOAlloc( USBH_HCDS_FIFOINFO *psFIFOInfo );
extern long USBH_HCDS_FIFOFree( unsigned char chNum );

#ifdef __cplusplus
	}
#endif /* cplusplus */

#endif /* USBH_HCD_FIFO_H */

⌨️ 快捷键说明

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