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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? obj_usbdesc.h

?? at91rm9200的一級bootloader
?? H
?? 第 1 頁 / 共 2 頁
字號:
//*----------------------------------------------------------------------------

//*         ATMEL Microcontroller Software Support  -  ROUSSET  -

//*----------------------------------------------------------------------------

//* The software is delivered "AS IS" without warranty or condition of any

//* kind, either express, implied or statutory. This includes without

//* limitation any warranty or condition with respect to merchantability or

//* fitness for any particular purpose, or against the infringements of

//* intellectual property rights of others.

//*----------------------------------------------------------------------------

//* File Name           : obj_udpdesc.h

//* Object              : USB peripheral library.

//*

//* 1.0 Sept 3rd 01 ODi : Creation

//*----------------------------------------------------------------------------

#ifndef obj_usbdesc_h

#define obj_usbdesc_h



#include 	"periph/udp/lib_udp.h"



/* *********************************************************************** */

/* Following definitions corresponds to the USB specification Rev. 1.1     */

/* They are used during the USB enumeration                                */

/* *********************************************************************** */



/* USB standard request code */

#define USB_GET_STATUS           0

#define USB_CLEAR_FEATURE        1

#define USB_SET_FEATURE          3

#define USB_SET_ADDRESS          5

#define USB_GET_DESCRIPTOR       6

#define USB_SET_DESCRIPTOR       7

#define USB_GET_CONFIGURATION    8

#define USB_SET_CONFIGURATION    9

#define USB_GET_INTERFACE       10

#define USB_SET_INTERFACE       11

#define USB_SYNCH_FRAME         12



/* USB descriptor types */

#define USB_DEVICE               1

#define USB_CONFIGURATION        2

#define USB_STRING               3

#define USB_INTERFACE            4

#define USB_ENDPOINT             5



/* USB standard feature selectors */

#define USB_DEVICE_REMOTE_WAKEUP 1

#define USB_ENDPOINT_HALT        0

/*---------------------------*/

/* USB Setup Data            */

/*---------------------------*/

typedef struct _AT91S_UsbSetup {

	char  bmRequestType;      /* Characteristics of request */

	char  bRequest;           /* Specific request */

	short wValue;             /* Word-sized field */

	short wIndex;             /* Word-sized field; used to pass an index or an offset */

	short wLength;            /* Number of bytes to transfert */

} AT91S_UsbSetup, *AT91PS_UsbSetup;



/*-------------------------------------------*/

/* USB Standard device descriptor            */

/*-------------------------------------------*/

typedef __packed struct _AT91S_UsbDevice {

	char  bLength;            /* Size of this descriptor */

	char  bDescriptorType;    /* DEVICE descriptor type */

	short bcdUSB;             /* USB Specification release Number */

	char  bDeviceClass;       /* Class code (assigned by the USB) */

	char  bDeviceSubClass;    /* Subclass code (assigned by the USB) */

	char  bDeviceProtocol;    /* Protool code (assigned by the USB) */

	char  bMaxPacketSize0;    /* Maximum packet size for endpoint 0 */

	short idVendor;           /* Vendor ID */

	short idProduct;          /* Product ID */

	short bcdDevice;          /* Device release number */

	char  iManufacturer;      /* Index of string descriptor describing manufacturer*/

	char  iProduct;           /* Index of string descriptor describing the product */

	char  iSerialNumber;      /* Index of string descriptor describing the device's serial number */

	char  bNumConfigurations; /* Number of possible configurations */

} AT91S_UsbDevice, *AT91PS_UsbDevice;





/*-------------------------------------------*/

/* USB Standard configuration descriptor     */

/*-------------------------------------------*/

typedef __packed struct _AT91S_UsbConfiguration {

	char  bLength;            /* Size of this descriptor */

	char  bDescriptorType;    /* CONFIGURATION descriptor type */

	short wTotalLength;       /* Total length of data returned for this configuration */

	char bNumInterfaces;      /* Number of interfaces supported by this configuration */

	char bConfigurationValue; /* Value to use as an argument to the set configuration() request */

	char iConfiguration;      /* Index of string descriptor describing this configuration */

	char bmAttributes;        /* Configuration characteristics */

	char MaxPower;            /* Maximum Power consumption */

} AT91S_UsbConfiguration, *AT91PS_UsbConfiguration;



__inline u_short wTotalLength(char const *pCfg) { return ((pCfg[3] << 8) | pCfg[2]); }



/*---------------------------------------*/

/* USB Standard interface descriptor     */

/*---------------------------------------*/

typedef __packed struct _AT91S_UsbInterface {

	char  bLength;            /* Size of this descriptor */

	char  bDescriptorType;    /* INTERFACE descriptor type */

	char  bInterfaceNumber;   /* Number of interface */

	char  bAlternateSetting;  /* Number of interfaces supported by this configuration */

	char  bNumEndpoints;      /* Number of endpoints used by this interface */

	char  bInterfaceClass;    /* Class code */

	char  bInterfaceSubClass; /* Subclass code */

	char  bInterfaceProtocol; /* Protocol code */

	char  iInterface;         /* Index of string descriptor describing this interface */

} AT91S_UsbInterface, *AT91PS_UsbInterface;



/*--------------------------------------*/

/* USB Standard endpoint descriptor     */

/*--------------------------------------*/

typedef __packed struct _AT91S_UsbEndpoint {

	char  bLength;            /* Size of this descriptor */

	char  bDescriptorType;    /* ENDP諭NT descriptor type */

	char  bEndpointAddress;   /* Address of the endpoint on the USB device described by this descriptor */

	char  bmAttributes;       /* Bitmap */

	short wMaxPacketSize;     /* Maximum packet size this endpoint is capable of sending or receiving */

	char  bInterval;          /* Interval for polling endpoint for data transfers */

} AT91S_UsbEndpoint, *AT91PS_UsbEndpoint;



__inline char           bEndpointAddress(char const *pEp)  { return (pEp[2] & 0x0F); }

__inline unsigned short wMaxPacketSize  (char const *pEp)  { return ((pEp[5] << 8) | pEp[4]); }



/*------------------------------------------*/

/* USB Standard UNICODE string descriptor  */

/*-----------------------------------------*/

typedef __packed struct _AT91S_UsbString {

	char  bLength;            /* Size of this descriptor */

	char  bDescriptorType;    /* STRING descriptor type */

	char  *bString;           /* UNICODE encoded string */

} AT91S_UsbString, *AT91PS_UsbString;









/* *********************************************************************** */

/* Following structure must be defined by the application                  */

/* Each pointer to function corresponds to standard request from the host  */

/* defined by the USB spec. Rev. 1.1                                       */

/*                                                                         */

/* If the request is not supported, the field must be set to 0. A STALL    */

/* handshake will be initialized with the host.                            */

/* *********************************************************************** */



typedef struct _AT91S_UsbDesc {



/* Following function is the entry point for the application */

	void (*DispatchRequest)    (

		struct _AT91S_UsbDesc *pUsbDesc, /* Pointer to this structure */

		AT91PS_UsbSetup  pSetup);           /* Descriptor type */

/* ======================================================================= */

/* Following functions are called by usbDispatchRequest() if a class or a  */

/* vendor request has been detected                                        */

/* ======================================================================= */

	void (*DispatchClassRequest)    (

		AT91PS_UsbSetup  pSetup,      /* Descriptor type */

		void *pPrivateClassData);  /* Pointer to private datas */

	void (*DispatchVendorRequest) (

		AT91PS_UsbSetup  pSetup,      /* Descriptor type */

		void *pPrivateVendorData); /* Pointer to private datas */



/* ======================================================================= */

/* Following functions are called after the request has been checked       */

/* according to the USB macro status                                       */

/* ======================================================================= */

	void (*ClearFeature) (

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人深夜在线观看| 国产精品伦理在线| 欧美性受极品xxxx喷水| 99久久精品费精品国产一区二区| 国产一区二区免费视频| 久久99国产乱子伦精品免费| 久久精品噜噜噜成人av农村| 青娱乐精品视频在线| 韩国精品主播一区二区在线观看 | 成人h动漫精品一区二| 成人性色生活片免费看爆迷你毛片| 国产一区二区三区免费| 国产精品亚洲一区二区三区在线 | 欧美日韩高清一区二区| 91精品国产91综合久久蜜臀| 777a∨成人精品桃花网| 欧美tk—视频vk| 国产精品蜜臀av| 亚洲一区二区综合| 蜜桃视频在线观看一区二区| 国产精品综合视频| 91美女片黄在线| 欧美一卡2卡3卡4卡| 久久精品在这里| 亚洲综合成人在线| 久久国产欧美日韩精品| heyzo一本久久综合| 欧美日韩精品一区二区三区蜜桃| 日韩精品资源二区在线| 中文字幕亚洲区| 日本在线不卡一区| 国产经典欧美精品| 欧美伊人久久久久久午夜久久久久| 欧美一级在线免费| 亚洲美女电影在线| 韩国欧美国产1区| 91国产丝袜在线播放| 精品久久久影院| 亚洲一区二区三区中文字幕| 韩国三级电影一区二区| 欧美亚洲国产一区二区三区va| 欧美精品一区二区三区在线| 亚洲天堂成人在线观看| 国产一区欧美日韩| 欧美日韩精品一区二区| 中文字幕精品一区二区精品绿巨人 | 国产精品综合久久| 欧美午夜不卡视频| 日韩午夜精品电影| 久久久综合精品| 日韩三级视频在线看| 亚洲欧美日韩在线| 国产一区二区三区免费看| 在线精品视频一区二区| 国产欧美日韩中文久久| 亚洲国产另类av| 99精品偷自拍| 中文乱码免费一区二区| 久久97超碰色| 日韩欧美高清在线| 天堂va蜜桃一区二区三区漫画版| 91啦中文在线观看| 中文字幕乱码亚洲精品一区| 韩国成人在线视频| 精品国产一区二区精华| 日韩av中文在线观看| 欧美亚洲综合另类| 亚洲自拍偷拍av| 色哟哟日韩精品| 亚洲三级理论片| 91女人视频在线观看| 国产日韩欧美高清| 成人自拍视频在线| 国产日韩精品一区二区浪潮av| 激情综合亚洲精品| 精品国产91乱码一区二区三区 | 国产精品美女久久久久久| 国产一区二区成人久久免费影院| 日韩欧美资源站| 美脚の诱脚舐め脚责91| 日韩一区二区精品在线观看| 美女被吸乳得到大胸91| 久久久午夜电影| 国产91清纯白嫩初高中在线观看| 中文字幕欧美日韩一区| 91在线小视频| 亚洲v精品v日韩v欧美v专区| 欧美一区二视频| 国产一区二区伦理片| 亚洲国产精品传媒在线观看| 北岛玲一区二区三区四区| 亚洲精品免费视频| 欧美精品在线视频| 国产精品18久久久久久久网站| 久久精品一区八戒影视| 成人的网站免费观看| 美国一区二区三区在线播放| 精品国产第一区二区三区观看体验| 韩国精品在线观看| 一区在线中文字幕| 欧美亚洲尤物久久| 国产尤物一区二区| 一区二区三区四区在线免费观看| 欧美日韩亚洲高清一区二区| 蜜桃精品视频在线| 国产精品久久久久久久久搜平片| 91久久奴性调教| 激情久久久久久久久久久久久久久久| 国产日韩av一区| 欧美天天综合网| 国产一区二区在线影院| 自拍偷拍亚洲综合| 欧美tickling挠脚心丨vk| aa级大片欧美| 黄色精品一二区| 亚洲自拍偷拍综合| 久久美女艺术照精彩视频福利播放| 色综合一区二区三区| 美女视频一区二区三区| 亚洲视频一区二区在线观看| 欧美一级黄色大片| 91在线精品秘密一区二区| 麻豆91精品视频| 亚洲成人动漫在线免费观看| 亚洲国产电影在线观看| 精品国产乱码久久久久久久久| 99精品久久99久久久久| 国产一区二区三区精品欧美日韩一区二区三区| 亚洲丝袜美腿综合| 久久精品一区八戒影视| 日韩一区二区三区四区| 欧美亚洲精品一区| 99久久伊人精品| 国产成人综合亚洲91猫咪| 美女视频黄免费的久久| 午夜精品久久久久| 亚洲男人的天堂一区二区| 欧美韩日一区二区三区| 欧美tickling挠脚心丨vk| 91精品在线一区二区| 日本丶国产丶欧美色综合| bt欧美亚洲午夜电影天堂| 国产精品夜夜嗨| 国产黄色91视频| 国产一区91精品张津瑜| 轻轻草成人在线| 久久精品国产99国产| 日韩福利视频网| 午夜精品久久久久久久| 日韩高清中文字幕一区| 香港成人在线视频| 日本欧美久久久久免费播放网| 亚洲成人精品一区| 亚洲图片自拍偷拍| 婷婷成人激情在线网| 无码av免费一区二区三区试看| 亚洲一级二级三级| 午夜视频一区二区| 老汉av免费一区二区三区| 美女视频黄 久久| 精彩视频一区二区| 高清视频一区二区| 日本精品裸体写真集在线观看| 色综合婷婷久久| 欧美日韩二区三区| 精品国产免费人成电影在线观看四季| 日韩视频一区二区三区| 26uuu国产一区二区三区| 日本一区二区三区四区在线视频| 国产精品嫩草影院com| 亚洲视频在线观看一区| 午夜精品视频一区| 久久av资源网| 欧美中文字幕亚洲一区二区va在线 | 99精品欧美一区| 欧美性猛交xxxxxx富婆| 91.com视频| 久久综合九色综合欧美98| 日本一区二区成人| 婷婷一区二区三区| 国产精品一区二区久久不卡| 成人妖精视频yjsp地址| 欧美综合一区二区三区| 日韩精品中文字幕在线一区| 亚洲国产成人午夜在线一区| 亚洲成人精品一区二区| 国产在线国偷精品免费看| 色综合中文综合网| 成人sese在线| 欧美一区二区国产| 国产精品久久久久精k8 | 亚洲少妇30p| 久久精品国产精品亚洲红杏 | 亚洲欧美色图小说| 午夜成人免费电影| 国产99久久久久久免费看农村| 91福利国产成人精品照片| 日韩精品一区二区三区四区| 亚洲精选视频在线| 国产高清久久久|