亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? hc_struct.h

?? 詳細(xì)描述了,由DSP5402控制的ISP1362的初始化,以及設(shè)為HC模式的整個(gè)工作過程
?? H
字號:
/****************************************************************************/
/*	constants (1/2)															*/
/****************************************************************************/

/*	bRequest	*/
//	Table 9-4. Standard Request Codes

#define		GET_STATUS					0
#define		CLEAR_FEATURE				1
#define		Reserved_for_future_use_2	2
#define		SET_FEATURE					3
#define		Reserved_for_future_use_4	4
#define		SET_ADDRESS					5
#define		GET_DESCRIPTOR				6
#define		SET_DESCRIPTOR				7
#define		GET_CONFIGURATION			8
#define		SET_CONFIGURATION			9
#define		GET_INTERFACE				10
#define		SET_INTERFACE				11
#define		SYNCH_FRAME					12


/*
 *  Standard Device Requests
 *      std_Dv_request_...(15:08)   = Standard Device Requests; Sec 9.4, Table 9-3, page250
 *      std_Dv_request_...(07:00)   = Standard Request Codes;   Sec 9.4, Table 9-4, page251
 */

#define     std_Dv_request_CLEAR_FEATURE_Dv         0x0001
#define     std_Dv_request_CLEAR_FEATURE_If         0x0101
#define     std_Dv_request_CLEAR_FEATURE_Ep         0x0201
#define     std_Dv_request_GET_CONFIGURATION        0x8008
#define     std_Dv_request_GET_DESCRIPTOR           0x8006
#define     std_Dv_request_GET_INTERFACE            0x810A
#define     std_Dv_request_GET_STATUS_Dv            0x8000
#define     std_Dv_request_GET_STATUS_If            0x8100
#define     std_Dv_request_GET_STATUS_Ep            0x8200
#define     std_Dv_request_SET_ADDRESS              0x0005
#define     std_Dv_request_SET_CONFIGURATION        0x0009
#define     std_Dv_request_SET_DESCRIPTOR           0x0007
#define     std_Dv_request_SET_FEATURE_Dv           0x0003
#define     std_Dv_request_SET_FEATURE_If           0x0103
#define     std_Dv_request_SET_FEATURE_Ep           0x0203
#define     std_Dv_request_SET_INTERFACE            0x010B
#define     std_Dv_request_SYNCH_FRAME              0x820C


/*
 *  Descriptor Types
 *      Sec 9.4, Table 9-5, page251
 */

#define     descriptor_type_DEVICE                      0x0100
#define     descriptor_type_CONFIGURATION               0x0200
#define     descriptor_type_STRING                      0x0300
#define     descriptor_type_INTERFACE                   0x0400
#define     descriptor_type_ENDPOINT                    0x0500
#define     descriptor_type_DEVICE_QUALIFIER            0x0600
#define     descriptor_type_OTHER_SPEED_CONFIGURATION   0x0700
#define     descriptor_type_INTERFACE_POWER             0x0800

/*
 *  Descriptor Type for OTG
 *      6.4 "OTG Descriptor", in On-The-Go standard, page 49
 */

#define     descriptor_type_OTG  			           0x0900


/****************************************************************************/
/*	types																	*/
/****************************************************************************/

typedef	struct		req			{
									unsigned char	bmRequestType;
									unsigned char	bRequest;
									unsigned short	wValue;
									unsigned short	wIndex;
									unsigned short	wLength;
								} 
								USB_Device_Request;

/*
 *  Standard USB Descriptor Definitions
 *      Sec 9.6, page 261
 */

typedef struct  std_dev_desc    {   /*  Sec9.6.1, Table 9-8, p262   */

                                    unsigned char   bLength;
                                    unsigned char   bDescriptorType;
                                    unsigned short  bcdUSB;
                                    unsigned char   bDeviceClass;
                                    unsigned char   bDeviceSubClass;
                                    unsigned char   bDeviceProtocol;
                                    unsigned char   bMaxPacketSize0;
                                    unsigned short  idVendor;
                                    unsigned short  idProduct;
                                    unsigned short  bcdDevice;
                                    unsigned char   iManufacturer;
                                    unsigned char   iProduct;
                                    unsigned char   iSerialNumber;
                                    unsigned char   bNumConfigurations;
                                }
                                std_dev_descriptor;                              
                                
 typedef struct  dev_qual_desc   {   /*  Sec 9.6.2, Table 9-9, p264  */
                                    /*  This is for Hi-speed        */

                                    unsigned char   bLength;
                                    unsigned char   bDescriptorType;
                                    unsigned short  bcdUSB;
                                    unsigned char   bDeviceClass;
                                    unsigned char   bDeviceSubClass;
                                    unsigned char   bDeviceProtocol;
                                    unsigned char   bMaxPacketSize0;
                                    unsigned char   bNumConfigurations;
                                }
                                dev_qualifier_descriptor;
           
typedef struct  std_conf_desc   {   /*  Sec9.6.3, Table 9-10, p265  */

                                    unsigned char   bLength;
                                    unsigned char   bDescriptorType;
                                    unsigned short  wTotalLength;
                                    unsigned char   bNumInterfaces;
                                    unsigned char   bConfigurationValue;
                                    unsigned char   iConfiguration;
                                    unsigned char   bmAttributes;
                                    unsigned char   bMaxPower;
                                }
                                std_conf_descriptor;

typedef struct  std_if_desc     {   /*  Sec9.6.5, Table 9-12, p268  */

                                    unsigned char   bLength;
                                    unsigned char   bDescriptorType;
                                    unsigned char   bInterfaceNumber;
                                    unsigned char   bAlternateSetting;
                                    unsigned char   bNumEndpoints;
                                    unsigned char   bInterfaceClass;
                                    unsigned char   bInterfaceSubClass;
                                    unsigned char   bInterfaceProtocol;
                                    unsigned char   iInterface;
                                }
                                std_interface_descriptor;
                                
typedef struct  std_ep_desc     {   /*  Sec9.6.6, Table 9-13, p269  */

                                    unsigned char   bLength;
                                    unsigned char   bDescriptorType;
                                    unsigned char   bEndpointAddress;
                                    unsigned char   bmAttributes;
                                    unsigned short  wMaxPacketSize;
                                    unsigned char   bInterval;
                                }
                                std_endpoint_descriptor; 
                                
typedef struct  std_str_desc    {   /*  Sec9.6.7, Table 9-15, p273  */

                                    unsigned char   bLength;
                                    unsigned char   bDescriptorType;
                                    unsigned short  bString;			//	bString[ (254) >> 1 ];
                                }
                                std_string_descriptor;  
                                
//**************************************************************************
//Structure for Mass storage
//**************************************************************************
typedef struct
{
	unsigned char dCBWSignature[4];		//the signature field shall contain the value 43425355
	unsigned char dCBWTag[4];			//the device shall echo the contents of this field back to the host in the dCSWTag field of the associated CSW.
	unsigned char dCBWDataTransferLength[4];	//the number of bytes of data that the host expects to transfer on the Bulk_in or Bulk_out endpoint during the execution of the command.
	unsigned char  bmCBWFlags;		//bit 7 direction:0 data out;1 data in
					//bit 6 obsolete.the host shall set this bit to zero.
					//bit 5..0 reserved .the host shall set these bit to zero
	unsigned char  bCBWLUN;			//zero
	unsigned char  bCBWCBLength;		//the valid length of the CBWCB in bytes.
	unsigned char  CBWCB[16];
}sCBW,*pCBW;

typedef struct
{
	unsigned char dCSWSignature[4];		//contain the value 53425355
	unsigned char dCSWTag[4];			//same as the associated CBW
	unsigned char dCSWDataResidue[4];		//the difference between the amount of data expected transfer and the actual amount of data processed.
	unsigned char  bCSWStatus;		//indicates the success or failure of the command.00:command passed,01:command failed,02:phase error.
}sCSW,*pCSW;

/*-------------------------------------------------------------------------
 * Structure for USB HUB
 *------------------------------------------------------------------------*/
// Hub Standard Descriptor
typedef struct  hub_d_param    {	//	Hub Descriptor
									//	See USB2.0 specification 11.23.2.1 Table 11-13 p.417

                                    unsigned char   bLength;
                                    unsigned char   bDescriptorType;
                                    unsigned char	bNbrPorts;
                                    unsigned short  wHubCharacteristics;
                                    unsigned char   bPwrOn2PwrGood;
                                    unsigned char   bHubContrCurrent;
                                    unsigned char   DeviceRemovable;	//	This field may have variable length
                                    unsigned char   PortPwrCtrlMask;	//	This field may have variable length
                                }
     hub_descriptor_params;     

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久国产尿小便嘘嘘尿| 中文字幕一区日韩精品欧美| 日本精品一区二区三区四区的功能| 免费观看30秒视频久久| 日韩精品成人一区二区三区| 亚洲国产综合视频在线观看| 亚洲最大色网站| 视频一区视频二区中文| 男男视频亚洲欧美| 精品制服美女丁香| 成人不卡免费av| 在线观看不卡一区| 欧美一区二区三区视频在线观看| 欧美一区二区成人6969| 久久久久久久久久电影| 亚洲人吸女人奶水| 亚洲va国产天堂va久久en| 全部av―极品视觉盛宴亚洲| 国产成人av电影在线| 91国产精品成人| 精品国产乱码久久久久久闺蜜| 日本一区二区三区四区在线视频 | 久久女同精品一区二区| 国产欧美一区二区精品性色| 亚洲免费在线视频| 久久国产精品无码网站| 不卡一区二区三区四区| 欧美日韩免费在线视频| 久久久青草青青国产亚洲免观| 亚洲人午夜精品天堂一二香蕉| 亚洲国产精品久久久久婷婷884 | 五月天中文字幕一区二区| 久久久影视传媒| 美国毛片一区二区| 亚洲一区二区四区蜜桃| 亚洲夂夂婷婷色拍ww47 | 日韩一区二区视频| 欧美日韩亚洲不卡| 欧美激情中文字幕| 日本午夜精品视频在线观看| 成人激情电影免费在线观看| 欧美日韩大陆一区二区| 国产精品欧美一区二区三区| 日本伊人色综合网| av综合在线播放| 26uuu精品一区二区在线观看| 亚洲欧美电影院| 国产成人av电影在线| 日韩亚洲欧美成人一区| 一区二区三区**美女毛片| 国产成人av一区| 欧美岛国在线观看| 亚洲国产综合人成综合网站| 97se亚洲国产综合自在线观| 久久久久久久综合狠狠综合| 男女视频一区二区| 欧美丰满美乳xxx高潮www| 亚洲一二三四久久| www.欧美.com| 欧美国产一区二区在线观看| 国产一区二三区好的| 日韩视频永久免费| 免费亚洲电影在线| 欧美一级二级三级蜜桃| 视频在线在亚洲| 欧美一区二区在线不卡| 日韩高清欧美激情| 91精品国产综合久久蜜臀| 亚洲午夜私人影院| 欧美精品丝袜中出| 三级久久三级久久久| 欧美日韩大陆在线| 日韩电影在线免费观看| 7777女厕盗摄久久久| 日韩成人精品视频| 日韩欧美www| 看电影不卡的网站| 久久久久国色av免费看影院| 久久99在线观看| 久久久久88色偷偷免费| 国产麻豆精品95视频| 亚洲国产精品黑人久久久| 国产一区在线观看视频| 国产人成一区二区三区影院| 在线观看av一区| 一区二区三区在线影院| 欧美日韩国产天堂| 青青国产91久久久久久| 欧美成人精品福利| 国产成人啪免费观看软件| 国产精品网曝门| 日本高清不卡在线观看| 亚洲成a人v欧美综合天堂下载| 国产成人午夜片在线观看高清观看| 一区二区三区在线观看国产| 欧美精品一卡二卡| 国内精品国产三级国产a久久| 国产精品视频九色porn| 色天使色偷偷av一区二区| 日本欧美肥老太交大片| 久久伊人中文字幕| 91福利小视频| 韩日av一区二区| 亚洲三级久久久| 精品毛片乱码1区2区3区| 成人教育av在线| 日韩av一级片| 亚洲视频精选在线| 精品日韩欧美一区二区| 色婷婷亚洲综合| 狠狠色狠狠色综合系列| 一区二区日韩av| 国产日韩精品一区二区三区| 欧美巨大另类极品videosbest| 国产久卡久卡久卡久卡视频精品| 夜夜精品视频一区二区 | 色综合咪咪久久| 久草中文综合在线| 一区二区在线看| 国产欧美精品日韩区二区麻豆天美| 在线免费观看日本欧美| 国产精品1区2区| 美女久久久精品| 亚洲电影视频在线| 亚洲欧洲国产专区| 久久久久久久久久久久久女国产乱| 欧美三级蜜桃2在线观看| av资源站一区| 成人晚上爱看视频| 国产精品主播直播| 精品在线一区二区| 麻豆极品一区二区三区| 亚洲国产精品久久一线不卡| 亚洲品质自拍视频网站| 一区免费观看视频| 国产精品嫩草影院com| 国产午夜精品久久| 国产午夜久久久久| 欧美精品一区二区高清在线观看| 欧美日韩另类一区| 欧美三级韩国三级日本三斤| 91精品福利视频| 91在线精品一区二区| 91丨porny丨户外露出| 91蜜桃视频在线| 色狠狠色噜噜噜综合网| 欧美在线观看视频在线| 欧美色图免费看| 欧美美女喷水视频| 精品1区2区3区| 欧美二区三区91| 51精品国自产在线| 欧美大胆人体bbbb| 久久综合色天天久久综合图片| 精品国产亚洲在线| 精品国产91久久久久久久妲己 | 亚州成人在线电影| 午夜精品久久久久久久99水蜜桃| 亚洲人成7777| 亚洲综合激情小说| 午夜精品视频在线观看| 午夜精品福利一区二区三区av| 亚洲午夜精品网| 免费成人你懂的| 韩国av一区二区三区四区| 国产精品综合av一区二区国产馆| 国内欧美视频一区二区| 国产成人在线视频网址| 成人av电影免费观看| 99热99精品| 欧美日韩中文字幕一区| 日韩欧美中文字幕制服| 欧美激情中文字幕一区二区| 亚洲视频一二区| 日本免费在线视频不卡一不卡二| 韩国三级电影一区二区| 91在线视频观看| 日韩亚洲电影在线| 自拍av一区二区三区| 日日噜噜夜夜狠狠视频欧美人 | 亚洲成a人v欧美综合天堂| 美女被吸乳得到大胸91| 成人午夜激情视频| 在线成人免费视频| 国产婷婷一区二区| 午夜视频久久久久久| 成人在线综合网站| 欧美一级久久久| 亚洲欧洲综合另类在线| 九九久久精品视频 | 亚洲图片自拍偷拍| 极品少妇xxxx精品少妇| 欧洲精品一区二区三区在线观看| 精品国产百合女同互慰| 亚洲影视在线观看| 国产精品一区免费视频| 4438成人网| 亚洲国产精品人人做人人爽| 成人免费视频免费观看| 欧美www视频|