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

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

?? usb_kbd_enum.h

?? 基于AT89C5131的USB信號發生器固件和上位機界面程序源代碼
?? H
字號:
/*H**************************************************************************
* NAME:         usb_kbd_enum.h
*----------------------------------------------------------------------------
* Copyright (c) 2003 Atmel.
*----------------------------------------------------------------------------
* RELEASE:      c5131-usb-kbd-light-1_0_2      
* REVISION:     1.2     
*----------------------------------------------------------------------------
* PURPOSE:
* This file contains the USB task definition
*****************************************************************************/

#ifndef _USB_ENUM_H_
#define _USB_ENUM_H_

/*_____ I N C L U D E S ____________________________________________________*/


/*_____ M A C R O S ________________________________________________________*/


/* HID specific */
#define GET_REPORT_DESCRIPTOR 0x22
/* *** */

/*_____ S T A N D A R D    R E Q U E S T S __________________________________*/

#define GET_STATUS            0x00
#define GET_DEVICE            0x01
#define CLEAR_FEATURE         0x01        /* see FEATURES below */
#define GET_STRING            0x03
#define SET_FEATURE           0x03        /* see FEATURES below */
#define SET_ADDRESS           0x05
#define GET_DESCRIPTOR        0x06
#define SET_DESCRIPTOR        0x07
#define GET_CONFIGURATION     0x08
#define SET_CONFIGURATION     0x09
#define GET_INTERFACE         0x0A
#define SET_INTERFACE         0x0B
#define SYNCH_FRAME           0x0C

#define GET_DEVICE_DESCRIPTOR           1
#define GET_CONFIGURATION_DESCRIPTOR    4

/* HID specific */
#define HID_SET_IDLE          0x0A
#define HID_GET_IDLE          0x02
/* *** */

#define REQUEST_DEVICE_STATUS         0x80
#define REQUEST_INTERFACE_STATUS      0x81
#define REQUEST_ENDPOINT_STATUS       0x82
#define ZERO_TYPE                     0x00
#define INTERFACE_TYPE                0x01
#define ENDPOINT_TYPE                 0x02

/*_____ D E S C R I P T O R    T Y P E S ____________________________________*/

#define DEVICE                0x01
#define CONFIGURATION         0x02
#define STRING                0x03
#define INTERFACE             0x04
#define ENDPOINT              0x05

/* HID specific */
#define HID                   0x21
#define REPORT                0x22
/* *** */

/*_____ S T A N D A R D    F E A T U R E S __________________________________*/

#define DEVICE_REMOTE_WAKEUP_FEATURE     0x01
#define ENDPOINT_HALT_FEATURE            0x00

/*_____ D E V I C E   S T A T U S ___________________________________________*/

#define SELF_POWERED       1

/*_____ D E V I C E   S T A T E _____________________________________________*/

#define ATTACHED                  0
#define POWERED                   1
#define DEFAULT                   2
#define ADDRESSED                 3
#define CONFIGURED                4
#define SUSPENDED                 5

#define USB_CONFIG_BUSPOWERED     0x80
#define USB_CONFIG_SELFPOWERED    0x40
#define USB_CONFIG_REMOTEWAKEUP   0x20

/*_________________________________________________________ S T R U C T _____*/
/*_____ U S B   D E V I C E   R E Q U E S T _________________________________*/
struct Endpoint_information_st
{
  unsigned int  fifo_size ;           /* size of the endpoint FIFO */
  unsigned int  fifo_left ;
};

struct USB_request_st
{
  unsigned char   bmRequestType;        /* Characteristics of the request */
  unsigned char   bRequest;             /* Specific request */
  unsigned int  wValue;               /* field that varies according to request */
  unsigned int  wIndex;               /* field that varies according to request */
  unsigned int  wLength;              /* Number of bytes to transfer if Data */
};


/*_____ U S B   D E V I C E   D E S C R I P T O R ___________________________*/

struct usb_st_device_descriptor
{
  unsigned char  bLength;               /* Size of this descriptor in bytes */
  unsigned char  bDescriptorType;       /* DEVICE descriptor type */
  unsigned int bscUSB;                /* Binay Coded Decimal Spec. release */
  unsigned char  bDeviceClass;          /* Class code assigned by the USB */
  unsigned char  bDeviceSubClass;       /* Sub-class code assigned by the USB */
  unsigned char  bDeviceProtocol;       /* Protocol code assigned by the USB */
  unsigned char  bMaxPacketSize0;       /* Max packet size for EP0 */
  unsigned int idVendor;              /* Vendor ID. ATMEL = 0x03EB */
  unsigned int idProduct;             /* Product ID assigned by the manufacturer */
  unsigned int bcdDevice;             /* Device release number */
  unsigned char  iManufacturer;         /* Index of manu. string descriptor */
  unsigned char  iProduct;              /* Index of prod. string descriptor */
  unsigned char  iSerialNumber;         /* Index of S.N.  string descriptor */
  unsigned char  bNumConfigurations;    /* Number of possible configurations */
};


/*_____ U S B   C O N F I G U R A T I O N   D E S C R I P T O R _____________*/

struct usb_st_configuration_descriptor
{
  unsigned char  bLength;               /* size of this descriptor in bytes */
  unsigned char  bDescriptorType;       /* CONFIGURATION descriptor type */
  unsigned int wTotalLength;          /* total length of data returned */
  unsigned char  bNumInterfaces;        /* number of interfaces for this conf. */
  unsigned char  bConfigurationValue;   /* value for SetConfiguration resquest */
  unsigned char  iConfiguration;        /* index of string descriptor */
  unsigned char  bmAttibutes;           /* Configuration characteristics */
  unsigned char  MaxPower;              /* maximum power consumption */
};


/*_____ U S B   I N T E R F A C E   D E S C R I P T O R _____________________*/

struct usb_st_interface_descriptor
{
  unsigned char bLength;                /* size of this descriptor in bytes */
  unsigned char bDescriptorType;        /* INTERFACE descriptor type */
  unsigned char bInterfaceNumber;       /* Number of interface */
  unsigned char bAlternateSetting;      /* value to select alternate setting */
  unsigned char bNumEndpoints;          /* Number of EP except EP 0 */
  unsigned char bInterfaceClass;        /* Class code assigned by the USB */
  unsigned char bInterfaceSubClass;     /* Sub-class code assigned by the USB */
  unsigned char bInterfaceProtocol;     /* Protocol code assigned by the USB */
  unsigned char iInterface;             /* Index of string descriptor */
};


/*_____ U S B   E N D P O I N T   D E S C R I P T O R _______________________*/

struct usb_st_endpoint_descriptor
{
  unsigned char  bLength;               /* Size of this descriptor in bytes */
  unsigned char  bDescriptorType;       /* ENDPOINT descriptor type */
  unsigned char  bEndpointAddress;      /* Address of the endpoint */
  unsigned char  bmAttributes;          /* Endpoint's attributes */
  unsigned int wMaxPacketSize;        /* Maximum packet size for this EP */
  unsigned char  bInterval;             /* Interval for polling EP in ms */
};


/*_____ U S B   M A N U F A C T U R E R   D E S C R I P T O R _______________*/

struct usb_st_manufacturer
{
  unsigned char  bLength;               /* size of this descriptor in bytes */
  unsigned char  bDescriptorType;       /* STRING descriptor type */
  unsigned int wstring[5];/* unicode characters */
};


/*_____ U S B   P R O D U C T   D E S C R I P T O R _________________________*/

struct usb_st_product
{
  unsigned char  bLength;               /* size of this descriptor in bytes */
  unsigned char  bDescriptorType;       /* STRING descriptor type */
  unsigned int wstring[24];/* unicode characters */
};


/*_____ U S B   S E R I A L   N U M B E R   D E S C R I P T O R _____________*/

struct usb_st_serial_number
{
  unsigned char  bLength;               /* size of this descriptor in bytes */
  unsigned char  bDescriptorType;       /* STRING descriptor type */
  unsigned int wstring[5];/* unicode characters */
};


/*_____ U S B   L A N G U A G E    D E S C R I P T O R ______________________*/

struct usb_st_language_descriptor
{
  unsigned char  bLength;               /* size of this descriptor in bytes */
  unsigned char  bDescriptorType;       /* STRING descriptor type */
  unsigned int wlangid;               /* language id */
};

/* HID specific */
/*_____ U S B   H I D   D E S C R I P T O R __________________________________*/

struct usb_st_hid_descriptor
{ 
  unsigned char  bLength;               /* Size of this descriptor in bytes */
  unsigned char  bDescriptorType;       /* HID descriptor type */
  unsigned int bscHID;                /* Binay Coded Decimal Spec. release */
  unsigned char  bCountryCode;          /* Hardware target country */
  unsigned char  bNumDescriptors;       /* Number of HID class descriptors to follow */
  unsigned char  bRDescriptorType;      /* Report descriptor type */
  unsigned int wDescriptorLength;     /* Total length of Report descriptor */
};


#endif  /* _USB_ENUM_H_ */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜欧美一区二区三区在线播放| 欧美高清视频www夜色资源网| 国产丝袜欧美中文另类| 国产一区二三区好的| 国产偷国产偷精品高清尤物 | www.亚洲色图| 一区二区成人在线视频| 欧美精品xxxxbbbb| 欧美aaaaaa午夜精品| 久久日韩粉嫩一区二区三区| 成人免费高清视频| 夜夜精品视频一区二区| 欧美一区二区免费观在线| 久久99久久久久| 欧美激情在线免费观看| 欧美性猛片xxxx免费看久爱| 久久国产欧美日韩精品| 日本一二三不卡| 欧美丰满嫩嫩电影| 国产精品1区2区3区在线观看| 亚洲日穴在线视频| 日韩一区二区三区视频| 成人黄色在线看| 午夜精品久久久久久久久久久| 久久久久免费观看| 欧美丝袜丝交足nylons| 久久激情五月激情| 一二三区精品视频| 精品精品国产高清a毛片牛牛| 不卡视频在线看| 蜜臀精品一区二区三区在线观看 | 国产欧美一区二区精品性色| 91麻豆高清视频| 久久99国产精品久久| 亚洲美女淫视频| 久久久蜜桃精品| 欧美美女bb生活片| 99久久99久久久精品齐齐| 蜜桃av一区二区在线观看| 中文字幕制服丝袜成人av | 亚洲国产精品成人综合| 91.xcao| 91女人视频在线观看| 国产一区二区三区在线看麻豆| 午夜久久久久久久久| 中文字幕一区二区日韩精品绯色| 欧美一级日韩免费不卡| 欧美在线视频不卡| 91香蕉视频黄| 成人激情视频网站| 国内一区二区视频| 蜜桃视频免费观看一区| 亚洲图片一区二区| 一区二区三区四区不卡在线 | 亚洲另类一区二区| 日本一区免费视频| 精品国产伦一区二区三区免费 | 欧美成人免费网站| 在线观看亚洲专区| 91视频精品在这里| 成人av在线资源| www.久久精品| 成人午夜精品一区二区三区| 国产一区二区三区在线观看免费视频| 日本在线不卡视频一二三区| 亚洲国产欧美另类丝袜| 国产精品一卡二卡在线观看| 老汉av免费一区二区三区| 免费观看成人鲁鲁鲁鲁鲁视频| 午夜精品视频一区| 午夜精品一区二区三区免费视频| 亚洲第一av色| 天天影视网天天综合色在线播放| 亚洲无人区一区| 亚洲1区2区3区视频| 亚洲va天堂va国产va久| 五月婷婷色综合| 欧美aaaaa成人免费观看视频| 婷婷久久综合九色综合绿巨人 | 精品国产伦一区二区三区观看体验| 欧美大片一区二区三区| 精品日韩一区二区三区| 欧美不卡视频一区| 国产亚洲综合av| 中文字幕中文字幕中文字幕亚洲无线| 国产精品视频yy9299一区| 国产精品国产精品国产专区不蜜| 亚洲天堂2014| 亚洲第一成年网| 精品一区二区久久久| 国产风韵犹存在线视精品| 不卡大黄网站免费看| 在线亚洲欧美专区二区| 欧美日韩国产系列| 日韩精品资源二区在线| 欧美激情一区二区三区全黄| 亚洲精品免费电影| 亚洲成人黄色小说| 精品系列免费在线观看| 成人av免费观看| 欧美日韩一区视频| 欧美mv日韩mv国产| 中文字幕亚洲精品在线观看| 夜夜操天天操亚洲| 激情综合五月天| 色综合天天综合网国产成人综合天| 欧美日韩国产乱码电影| 国产亚洲欧美中文| 一区二区免费在线| 激情小说亚洲一区| 色婷婷精品久久二区二区蜜臂av | 精品毛片乱码1区2区3区| 中文久久乱码一区二区| 亚洲一区二区偷拍精品| 日韩精品中午字幕| 国产精品不卡视频| 久久精品99久久久| 日本黄色一区二区| 欧美电影免费观看高清完整版| 亚洲欧美自拍偷拍色图| 日韩电影在线看| 91网址在线看| 久久午夜老司机| 香蕉乱码成人久久天堂爱免费| 国产精品77777竹菊影视小说| 欧美日韩三级在线| 国产欧美日韩精品一区| 天天综合网天天综合色| av动漫一区二区| 久久久亚洲精华液精华液精华液| 亚洲精品免费看| 国产乱码精品一区二区三区五月婷 | 一色屋精品亚洲香蕉网站| 青草国产精品久久久久久| 91伊人久久大香线蕉| 久久久99免费| 日韩精品一二三四| 99精品视频在线播放观看| 久久毛片高清国产| 日本网站在线观看一区二区三区| 色伊人久久综合中文字幕| 国产精品天天摸av网| 国产一区二区免费在线| 在线播放国产精品二区一二区四区| 中文字幕欧美一| 国产91丝袜在线播放0| 精品少妇一区二区三区| 日韩精品亚洲专区| 欧美色手机在线观看| 亚洲精品国产精品乱码不99| youjizz国产精品| 欧美激情综合五月色丁香小说| 九九视频精品免费| 日韩欧美一级二级| 免费看日韩a级影片| 91精品国产色综合久久ai换脸| 亚洲一区二区三区四区五区黄| 91啪九色porn原创视频在线观看| 国产精品卡一卡二卡三| 成人国产精品视频| 国产精品乱码妇女bbbb| 成人在线视频首页| 国产精品美女www爽爽爽| 国产精品1区2区3区| 久久国产三级精品| 日韩天堂在线观看| 美女脱光内衣内裤视频久久网站| 6080yy午夜一二三区久久| 亚洲成va人在线观看| 欧美高清视频不卡网| 美女爽到高潮91| 精品电影一区二区三区| 国模大尺度一区二区三区| 国产亚洲欧美中文| 成人国产精品视频| 亚洲人亚洲人成电影网站色| 色综合天天综合色综合av| 一区二区三区在线视频播放| 在线免费观看成人短视频| 偷窥国产亚洲免费视频| 欧美不卡一区二区三区| 国产精品亚洲专一区二区三区| 国产日产欧美一区| 97精品视频在线观看自产线路二| 亚洲一区在线看| 日韩区在线观看| 国产精品资源在线看| 国产精品久久久久久亚洲伦| 91浏览器打开| 日本不卡一区二区三区 | 韩国女主播成人在线观看| 国产欧美精品日韩区二区麻豆天美| 成人福利视频在线| 亚洲精品免费视频| 日韩三级视频中文字幕| 国产白丝精品91爽爽久久 | 欧美精品丝袜中出| 韩国成人在线视频| 亚洲精品少妇30p| 日韩女优电影在线观看|