📄 usbh_hcds_channel.h
字号:
/*
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -