ReactOS 0.4.16-dev-329-g9223134
usbprotocoldefs.h File Reference
#include <pshpack1.h>
#include <poppack.h>
Include dependency graph for usbprotocoldefs.h:

Go to the source code of this file.

Classes

union  _USBDESCRIPTORTYPE
 
struct  _USBDESCRIPTORTYPE::Bits
 
union  _USBCONFIGATTRIBS
 
struct  _USBCONFIGATTRIBS::Bits
 
union  _USBREQUESTTYPE
 
struct  _USBREQUESTTYPE::Bits
 
struct  _USBSETUPREQUEST
 
struct  _USBDEVICEDESC
 
struct  _USBCONFIGDESC
 
struct  _USBINTERFACEDESC
 
union  _USBENDPOINTADDRESS
 
struct  _USBENDPOINTADDRESS::Bits
 
union  _USBENDPOINTATTRIBS
 
struct  _USBENDPOINTATTRIBS::Bits
 
union  _USBMAXPACKET
 
struct  _USBMAXPACKET::Bits
 
struct  _USBENDPOINTDESC
 
struct  _USBQUALIFIERDESC
 
struct  _USBSTRINGDESC
 
struct  _USBSTRINGLANGIDS
 
struct  _USBHIDSTANDARDDESC
 
struct  _USBHIDOPTIONALDESC
 
struct  _USBPHYSICALDESCSET0
 
union  _USBPHYSICALDESCSET
 
struct  _USBPHYSICALDESCSET::Bits
 
struct  _USBPHYSICALDESCITEM
 
union  _USBPHYSICALDESCITEM::Flags
 
struct  _USBPHYSICALDESCITEM::Flags::Bits
 
union  _USBHUBCHARACTERISTICS
 
struct  _USBHUBCHARACTERISTICS::Bits
 
struct  _USBHUBDESC
 
union  _USBHUBPORTSTATUS
 
struct  _USBHUBPORTSTATUS::Bits
 
union  _USBHUBPORTSTATUSCHANGE
 
struct  _USBHUBPORTSTATUSCHANGE::Bits
 
struct  _USBHUBPORTDATA
 

Macros

#define USB_UnConnected_Device_Address   0
 
#define USB_UNCONNECTED_ADDRESS(address)   ( USB_UnConnected_Device_Address == (address))
 
#define USB_CONNECTED_ADDRESS(address)   ( USB_UnConnected_Device_Address != (address) )
 
#define PID_OUT   1
 
#define PID_IN   9
 
#define PID_SOF   5
 
#define PID_SETUP   13
 
#define PID_DATA0   3
 
#define PID_DATA1   11
 
#define PID_DATA2   7
 
#define PID_MDATA   15
 
#define USB_ACK   2
 
#define USB_NAK   10
 
#define USB_STALL   14
 
#define USB_NYET   6
 
#define USB_PRE   12
 
#define USB_ERR   12
 
#define USB_SPLIT   8
 
#define USB_PING   4
 
#define USB_TIMEOUT   0
 
#define USB_SPEC   0x0200
 
#define HID_SPEC   0x0101
 
#define USB_20_SPEC   0x0200
 
#define USB_11_SPEC   0x0110
 
#define USB_10_SPEC   0x0100
 
#define HID_MAX_PACKET_SIZE0   0x08
 
#define MICROSOFT_VENDOR_ID   0x045E
 
#define HID_DEVICE_RELEASE   0x0100
 
#define HID_MAX_PACKET_SIZE   0x0008
 
#define HID_POLLING_INTERVAL   0x0A
 
#define MAX_POLLING_INTERVAL   0xFF
 
#define USB_DEFAULT_KEYBOARD_PRODUCT_ID   0x000B
 
#define USB_DEFAULT_MOUSE_PRODUCT_ID   0x0040
 
#define DEVICE_DESCRIPTOR   0x01
 
#define CONFIGURATION_DESCRIPTOR   0x02
 
#define STRING_DESCRIPTOR   0x03
 
#define INTERFACE_DESCRIPTOR   0x04
 
#define ENDPOINT_DESCRIPTOR   0x05
 
#define QUALIFIER_DESCRIPTOR   0x06
 
#define OTHER_SPEED_DESCRIPTOR   0x07
 
#define INTERFACE_POWER_DESCRIPTOR   0x08
 
#define HID_DESCRIPTOR   0x21
 
#define REPORT_DESCRIPTOR   0x22
 
#define PHYSICAL_DESCRIPTOR   0x23
 
#define HUB_DESCRIPTOR   0x29
 
#define USB_DESCRIPTOR_TYPE_STD   0
 
#define USB_DESCRIPTOR_TYPE_CLASS   1
 
#define USB_DESCRIPTOR_TYPE_VENDOR   2
 
#define USB_DESCRIPTOR_TYPE_RESERVED   3
 
#define DIR_HOST_TO_DEVICE   0
 
#define DIR_DEVICE_TO_HOST   1
 
#define TYPE_STANDARD   0
 
#define TYPE_CLASS   1
 
#define TYPE_VENDOR   2
 
#define TYPE_RESERVED   3
 
#define RCPT_DEVICE   0
 
#define RCPT_INTERFACE   1
 
#define RCPT_ENDPOINT   2
 
#define RCPT_OTHER   3
 
#define RCPT_PORT   4
 
#define RCPT_RPIPE   5
 
#define USB_MAKE_REQUEST_TYPE(direction, type, recipient)
 
#define GET_STATUS   0
 
#define CLEAR_FEATURE   1
 
#define SET_FEATURE   3
 
#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
 
#define USB_BULK_ONLY_MASS_STG_RESET   0xFF
 
#define USB_BULK_ONLY_MASS_STG_GET_MAX_LUN   0xFE
 
#define GET_REPORT   0x01
 
#define GET_IDLE   0x02
 
#define GET_PROTOCOL   0x03
 
#define SET_REPORT   0x09
 
#define SET_IDLE   0x0A
 
#define SET_PROTOCOL   0x0B
 
#define ADD_MMC_IE   20
 
#define REMOVE_MMC_IE   21
 
#define SET_NUM_DNTS   22
 
#define SET_CLUSTER_ID   23
 
#define SET_DEVICE_INFO   24
 
#define GET_TIME   25
 
#define SET_STREAM_INDEX   26
 
#define SET_WUSB_MAS   27
 
#define WUSB_CH_STOP   28
 
#define EXEC_RC_CMD   40
 
#define TIME_ADJ   0x01
 
#define TIME_BPST   0x02
 
#define TIME_WUSB   0x03
 
#define HID_REPORT_TYPE_INPUT   0x01
 
#define HID_REPORT_TYPE_OUTPUT   0x02
 
#define HID_REPORT_TYPE_FEATURE   0x03
 
#define HID_PROTOCOL_TYPE_BOOT   0x00
 
#define HID_PROTOCOL_TYPE_REPORT   0x01
 
#define HUB_DEVICE_PROTOCOL_1X   0
 
#define HUB_DEVICE_PROTOCOL_SINGLE_TT   1
 
#define HUB_DEVICE_PROTOCOL_MULTI_TT   2
 
#define HUB_INTERFACE_PROTOCOL_1X   0
 
#define HUB_INTERFACE_PROTOCOL_SINGLE_TT   0
 
#define HUB_INTERFACE_PROTOCOL_MULTI_TT_IN_SINGLE_TT_MODE   1
 
#define HUB_INTERFACE_PROTOCOL_MULTI_TT_IN_MULTI_TT_MODE   2
 
#define CLEAR_TT_BUFFER   8
 
#define RESET_TT   9
 
#define GET_TT_STATE   10
 
#define STOP_TT   11
 
#define C_HUB_LOCAL_POWER   0
 
#define C_HUB_OVER_CURRENT   1
 
#define PORT_CONNECTION   0
 
#define PORT_ENABLE   1
 
#define PORT_SUSPEND   2
 
#define PORT_OVER_CURRENT   3
 
#define PORT_RESET   4
 
#define PORT_POWER   8
 
#define PORT_LOW_SPEED   9
 
#define C_PORT_CONNECTION   16
 
#define C_PORT_ENABLE   17
 
#define C_PORT_SUSPEND   18
 
#define C_PORT_OVER_CURRENT   19
 
#define C_PORT_RESET   20
 
#define PORT_TEST   21
 
#define PORT_INDICATOR   22
 
#define USBSETUPSIZE   8
 
#define USBINREQUEST   128
 
#define BM_GET_DEVICE   128
 
#define BM_GET_INTERFACE   129
 
#define BM_GET_ENDPOINT   130
 
#define BM_SET_DEVICE   0
 
#define BM_SET_INTERFACE   1
 
#define BM_SET_ENDPOINT   2
 
#define HALT_ENDPOINT   0
 
#define REMOTE_WAKEUP   1
 
#define TEST_MODE   2
 
#define DEVICE_DESCRIPTION_TYPE   0x100
 
#define QUALIFIER_DESCRIPTION_TYPE   0x600
 
#define OTHER_SPEED_DESCRIPTION_TYPE   0x700
 
#define CONFIG_DESCRIPTION_TYPE   0x200
 
#define STRING_DESCRIPTION_TYPE   0x300
 
#define MSOS_DESCRIPTION_TYPE   0x3EE
 
#define CONFIG_BUS_POWERED   0x80
 
#define CONFIG_SELF_POWERED   0x40
 
#define CONFIG_REMOTE_WAKEUP   0x20
 
#define USB_WA_MULTIFUNCTION   0x02
 
#define USB_WA_PROTOCOL   0x01
 
#define USB_RADIO_CONTROL   0x2
 
#define USB_HID_CLASS_CODE   0x03
 
#define USB_MASS_STORAGE_CLASS_CODE   0x08
 
#define USB_HUB_CLASS_CODE   0x09
 
#define USB_MISCELLANEOUS   0xEF
 
#define USB_WIRELESS_WA   0xE0
 
#define BOOT_INTERFACE_SUBCLASS   0x01
 
#define COMMON_CLASS   0x02
 
#define USB_RF_CONTROL   0x01
 
#define PROTOCOL_NONE   0x00
 
#define PROTOCOL_KEYBOARD   0x01
 
#define PROTOCOL_MOUSE   0x02
 
#define EP_OUT   0
 
#define EP_IN   1
 
#define MAKE_ENDPOINT_ADDRESS(num, dir)    ( ((BYTE)(dir) << 7) | ((BYTE)(num) & 0x0F) )
 
#define ENDPOINT_TYPE   0x03
 
#define CONTROL_ENDPOINT   0
 
#define ISOCHRONOUS_ENDPOINT   1
 
#define BULK_ENDPOINT   2
 
#define INTERRUPT_ENDPOINT   3
 
#define ENDPOINT_DIRECTION_OUT   0
 
#define ENDPOINT_DIRECTION_IN   1
 
#define USB_TRANSFER_TYPE_CONTROL   0
 
#define USB_TRANSFER_TYPE_ISOCH   1
 
#define USB_TRANSFER_TYPE_BULK   2
 
#define USB_TRANSFER_TYPE_INTERRUPT   3
 
#define USB_SYNC_TYPE_NONE   0
 
#define USB_SYNC_TYPE_ASYNC   1
 
#define USB_SYNC_TYPE_ADAPTIVE   2
 
#define USB_SYNC_TYPE_SYNC   3
 
#define USB_USAGE_TYPE_DATA   0
 
#define USB_USAGE_TYPE_FEEDBACK   1
 
#define USB_USAGE_TYPE_IMPLICIT   2
 
#define USB_USAGE_TYPE_RESERVED   3
 
#define USB_MAKE_LANGID(lang, sublang)    ((((USHORT)(sublang)) << 10) | (USHORT)(lang))
 
#define USB_LANG_RESERVED   0x00
 
#define USB_LANG_ARABIC   0x01
 
#define USB_LANG_BULGARIAN   0x02
 
#define USB_LANG_CATALAN   0x03
 
#define USB_LANG_CHINESE   0x04
 
#define USB_LANG_CZECH   0x05
 
#define USB_LANG_DANISH   0x06
 
#define USB_LANG_GERMAN   0x07
 
#define USB_LANG_GREEK   0x08
 
#define USB_LANG_ENGLISH   0x09
 
#define USB_LANG_SPANISH   0x0a
 
#define USB_LANG_FINNISH   0x0b
 
#define USB_LANG_FRENCH   0x0c
 
#define USB_LANG_HEBREW   0x0d
 
#define USB_LANG_HUNGARIAN   0x0e
 
#define USB_LANG_ICELANDIC   0x0f
 
#define USB_LANG_ITALIAN   0x10
 
#define USB_LANG_JAPANESE   0x11
 
#define USB_LANG_KOREAN   0x12
 
#define USB_LANG_DUTCH   0x13
 
#define USB_LANG_NORWEGIAN   0x14
 
#define USB_LANG_POLISH   0x15
 
#define USB_LANG_PORTUGUESE   0x16
 
#define USB_LANG_ROMANIAN   0x18
 
#define USB_LANG_RUSSIAN   0x19
 
#define USB_LANG_CROATIAN   0x1a
 
#define USB_LANG_SERBIAN   0x1a
 
#define USB_LANG_SLOVAK   0x1b
 
#define USB_LANG_ALBANIAN   0x1c
 
#define USB_LANG_SWEDISH   0x1d
 
#define USB_LANG_THAI   0x1e
 
#define USB_LANG_TURKISH   0x1f
 
#define USB_LANG_URDU   0x20
 
#define USB_LANG_INDONESIAN   0x21
 
#define USB_LANG_UKRANIAN   0x22
 
#define USB_LANG_BELARUSIAN   0x23
 
#define USB_LANG_SLOVENIAN   0x24
 
#define USB_LANG_ESTONIAN   0x25
 
#define USB_LANG_LATVIAN   0x26
 
#define USB_LANG_LITHUANIAN   0x27
 
#define USB_LANG_FARSI   0x29
 
#define USB_LANG_VIETNAMESE   0x2a
 
#define USB_LANG_ARMENIAN   0x2b
 
#define USB_LANG_AZERI   0x2c
 
#define USB_LANG_BASQUE   0x2d
 
#define USB_LANG_MACEDONIAN   0x2f
 
#define USB_LANG_AFRIKAANS   0x36
 
#define USB_LANG_GEORGIAN   0x37
 
#define USB_LANG_FAEROESE   0x38
 
#define USB_LANG_HINDI   0x39
 
#define USB_LANG_MALAY   0x3e
 
#define USB_LANG_KAZAK   0x3f
 
#define USB_LANG_SWAHILI   0x41
 
#define USB_LANG_UZBEK   0x43
 
#define USB_LANG_TATAR   0x44
 
#define USB_LANG_BENGALI   0x45
 
#define USB_LANG_PUNJABI   0x46
 
#define USB_LANG_GUJARATI   0x47
 
#define USB_LANG_ORIYA   0x48
 
#define USB_LANG_TAMIL   0x49
 
#define USB_LANG_TELUGU   0x4a
 
#define USB_LANG_KANNADA   0x4b
 
#define USB_LANG_MALAYALAM   0x4c
 
#define USB_LANG_ASSAMESE   0x4d
 
#define USB_LANG_MARATHI   0x4e
 
#define USB_LANG_SANSKRIT   0x4f
 
#define USB_LANG_KONKANI   0x57
 
#define USB_LANG_MANIPURI   0x58
 
#define USB_LANG_SINDHI   0x59
 
#define USB_LANG_KASHMIRI   0x60
 
#define USB_LANG_NEPALI   0x61
 
#define USB_LANG_HID   0xff
 
#define USB_SUBLANG_ARABIC_SAUDI_ARABIA   0x01
 
#define USB_SUBLANG_ARABIC_SAUDI_ARABIA   0x01
 
#define USB_SUBLANG_ARABIC_IRAQ   0x02
 
#define USB_SUBLANG_ARABIC_EGYPT   0x03
 
#define USB_SUBLANG_ARABIC_LIBYA   0x04
 
#define USB_SUBLANG_ARABIC_ALGERIA   0x05
 
#define USB_SUBLANG_ARABIC_MOROCCO   0x06
 
#define USB_SUBLANG_ARABIC_TUNISIA   0x07
 
#define USB_SUBLANG_ARABIC_OMAN   0x08
 
#define USB_SUBLANG_ARABIC_YEMEN   0x09
 
#define USB_SUBLANG_ARABIC_SYRIA   0x10
 
#define USB_SUBLANG_ARABIC_JORDAN   0x11
 
#define USB_SUBLANG_ARABIC_LEBANON   0x12
 
#define USB_SUBLANG_ARABIC_KUWAIT   0x13
 
#define USB_SUBLANG_ARABIC_UAE   0x14
 
#define USB_SUBLANG_ARABIC_BAHRAIN   0x15
 
#define USB_SUBLANG_ARABIC_QATAR   0x16
 
#define USB_SUBLANG_AZERI_CYRILLIC   0x01
 
#define USB_SUBLANG_AZERI_LATIN   0x02
 
#define USB_SUBLANG_CHINESE_TRADITIONAL   0x01
 
#define USB_SUBLANG_CHINESE_SIMPLIFIED   0x02
 
#define USB_SUBLANG_CHINESE_HONGKONG   0x03
 
#define USB_SUBLANG_CHINESE_SINGAPORE   0x04
 
#define USB_SUBLANG_CHINESE_MACAU   0x05
 
#define USB_SUBLANG_DUTCH   0x01
 
#define USB_SUBLANG_DUTCH_BELGIAN   0x02
 
#define USB_SUBLANG_ENGLISH_US   0x01
 
#define USB_SUBLANG_ENGLISH_UK   0x02
 
#define USB_SUBLANG_ENGLISH_AUS   0x03
 
#define USB_SUBLANG_ENGLISH_CAN   0x04
 
#define USB_SUBLANG_ENGLISH_NZ   0x05
 
#define USB_SUBLANG_ENGLISH_EIRE   0x06
 
#define USB_SUBLANG_ENGLISH_SOUTH_AFRICA   0x07
 
#define USB_SUBLANG_ENGLISH_JAMAICA   0x08
 
#define USB_SUBLANG_ENGLISH_CARIBBEAN   0x09
 
#define USB_SUBLANG_ENGLISH_BELIZE   0x0a
 
#define USB_SUBLANG_ENGLISH_TRINIDAD   0x0b
 
#define USB_SUBLANG_ENGLISH_PHILIPPINES   0x0c
 
#define USB_SUBLANG_ENGLISH_ZIMBABWE   0x0d
 
#define USB_SUBLANG_FRENCH   0x01
 
#define USB_SUBLANG_FRENCH_BELGIAN   0x02
 
#define USB_SUBLANG_FRENCH_CANADIAN   0x03
 
#define USB_SUBLANG_FRENCH_SWISS   0x04
 
#define USB_SUBLANG_FRENCH_LUXEMBOURG   0x05
 
#define USB_SUBLANG_FRENCH_MONACO   0x06
 
#define USB_SUBLANG_GERMAN   0x01
 
#define USB_SUBLANG_GERMAN_SWISS   0x02
 
#define USB_SUBLANG_GERMAN_AUSTRIAN   0x03
 
#define USB_SUBLANG_GERMAN_LUXEMBOURG   0x04
 
#define USB_SUBLANG_GERMAN_LIECHTENSTEIN   0x05
 
#define USB_SUBLANG_ITALIAN   0x01
 
#define USB_SUBLANG_ITALIAN_SWISS   0x02
 
#define USB_SUBLANG_KASHMIRI_INDIA   0x02
 
#define USB_SUBLANG_KOREAN   0x01
 
#define USB_SUBLANG_LITHUANIAN   0x01
 
#define USB_SUBLANG_MALAY_MALAYSIA   0x01
 
#define USB_SUBLANG_MALAY_BRUNEI_DARUSSALAM   0x02
 
#define USB_SUBLANG_NEPALI_INDIA   0x02
 
#define USB_SUBLANG_NORWEGIAN_BOKMAL   0x01
 
#define USB_SUBLANG_NORWEGIAN_NYNORSK   0x02
 
#define USB_SUBLANG_PORTUGUESE   0x01
 
#define USB_SUBLANG_PORTUGUESE_BRAZILIAN   0x02
 
#define USB_SUBLANG_SERBIAN_LATIN   0x02
 
#define USB_SUBLANG_SERBIAN_CYRILLIC   0x03
 
#define USB_SUBLANG_SPANISH   0x01
 
#define USB_SUBLANG_SPANISH_MEXICAN   0x02
 
#define USB_SUBLANG_SPANISH_MODERN   0x03
 
#define USB_SUBLANG_SPANISH_GUATEMALA   0x04
 
#define USB_SUBLANG_SPANISH_COSTA_RICA   0x05
 
#define USB_SUBLANG_SPANISH_PANAMA   0x06
 
#define USB_SUBLANG_SPANISH_DOMINICAN_REPUBLIC   0x07
 
#define USB_SUBLANG_SPANISH_VENEZUELA   0x08
 
#define USB_SUBLANG_SPANISH_COLOMBIA   0x09
 
#define USB_SUBLANG_SPANISH_PERU   0x0a
 
#define USB_SUBLANG_SPANISH_ARGENTINA   0x0b
 
#define USB_SUBLANG_SPANISH_ECUADOR   0x0c
 
#define USB_SUBLANG_SPANISH_CHILE   0x0d
 
#define USB_SUBLANG_SPANISH_URUGUAY   0x0e
 
#define USB_SUBLANG_SPANISH_PARAGUAY   0x0f
 
#define USB_SUBLANG_SPANISH_BOLIVIA   0x10
 
#define USB_SUBLANG_SPANISH_EL_SALVADOR   0x11
 
#define USB_SUBLANG_SPANISH_HONDURAS   0x12
 
#define USB_SUBLANG_SPANISH_NICARAGUA   0x13
 
#define USB_SUBLANG_SPANISH_PUERTO_RICO   0x14
 
#define USB_SUBLANG_SWEDISH   0x01
 
#define USB_SUBLANG_SWEDISH_FINLAND   0x02
 
#define USB_SUBLANG_URDU_PAKISTAN   0x01
 
#define USB_SUBLANG_URDU_INDIA   0x02
 
#define USB_SUBLANG_UZBEK_LATIN   0x01
 
#define USB_SUBLANG_UZBEK_CYRILLIC   0x02
 
#define USB_SUBLANG_HID_USAGE_DATA_DESCRIPTOR   0x01
 
#define USB_SUBLANG_HID_VENDOR_DEFINED_1   0x3c
 
#define USB_SUBLANG_HID_VENDOR_DEFINED_2   0x3d
 
#define USB_SUBLANG_HID_VENDOR_DEFINED_3   0x3e
 
#define USB_SUBLANG_HID_VENDOR_DEFINED_4   0x3f
 

Typedefs

typedef union _USBDESCRIPTORTYPE USBDESCRIPTORTYPE
 
typedef union _USBCONFIGATTRIBS USBCONFIGATTRIBS
 
typedef union _USBREQUESTTYPE USBREQUESTTYPE
 
typedef struct _USBSETUPREQUEST USBSETUPREQUEST
 
typedef struct _USBDEVICEDESC USBDEVICEDESC
 
typedef struct _USBCONFIGDESC USBCONFIGDESC
 
typedef struct _USBINTERFACEDESC USBINTERFACEDESC
 
typedef union _USBENDPOINTADDRESS USBENDPOINTADDRESS
 
typedef union _USBENDPOINTATTRIBS USBENDPOINTATTRIBS
 
typedef union _USBMAXPACKET USBMAXPACKET
 
typedef struct _USBENDPOINTDESC USBENDPOINTDESC
 
typedef struct _USBQUALIFIERDESC USBQUALIFIERDESC
 
typedef struct _USBSTRINGDESC USBSTRINGDESC
 
typedef struct _USBSTRINGLANGIDS USBSTRINGLANGIDS
 
typedef struct _USBHIDSTANDARDDESC USBHIDSTANDARDDESC
 
typedef struct _USBHIDOPTIONALDESC USBHIDOPTIONALDESC
 
typedef struct _USBPHYSICALDESCSET0 USBPHYSICALDESCSET0
 
typedef union _USBPHYSICALDESCSET USBPHYSICALDESCSET
 
typedef struct _USBPHYSICALDESCITEM USBPHYSICALDESCITEM
 
typedef union _USBHUBCHARACTERISTICS USBHUBCHARACTERISTICS
 
typedef struct _USBHUBDESC USBHUBDESC
 
typedef union _USBHUBPORTSTATUS USBHUBPORTSTATUS
 
typedef union _USBHUBPORTSTATUSCHANGE USBHUBPORTSTATUSCHANGE
 
typedef struct _USBHUBPORTDATA USBHUBPORTDATA
 

Functions

 C_ASSERT ((sizeof(USBREQUESTTYPE)==sizeof(BYTE)))
 
 C_ASSERT ((sizeof(USBENDPOINTADDRESS)==sizeof(BYTE)))
 
 C_ASSERT ((sizeof(USBENDPOINTATTRIBS)==sizeof(BYTE)))
 
 C_ASSERT ((sizeof(USBMAXPACKET)==sizeof(WORD)))
 
 C_ASSERT ((sizeof(USBHUBCHARACTERISTICS)==sizeof(WORD)))
 
 C_ASSERT ((sizeof(USBHUBDESC)==71))
 
 C_ASSERT ((sizeof(USBHUBPORTSTATUS)==sizeof(WORD)))
 
 C_ASSERT ((sizeof(USBHUBPORTSTATUSCHANGE)==sizeof(WORD)))
 

Macro Definition Documentation

◆ ADD_MMC_IE

#define ADD_MMC_IE   20

Definition at line 111 of file usbprotocoldefs.h.

◆ BM_GET_DEVICE

#define BM_GET_DEVICE   128

Definition at line 168 of file usbprotocoldefs.h.

◆ BM_GET_ENDPOINT

#define BM_GET_ENDPOINT   130

Definition at line 170 of file usbprotocoldefs.h.

◆ BM_GET_INTERFACE

#define BM_GET_INTERFACE   129

Definition at line 169 of file usbprotocoldefs.h.

◆ BM_SET_DEVICE

#define BM_SET_DEVICE   0

Definition at line 172 of file usbprotocoldefs.h.

◆ BM_SET_ENDPOINT

#define BM_SET_ENDPOINT   2

Definition at line 174 of file usbprotocoldefs.h.

◆ BM_SET_INTERFACE

#define BM_SET_INTERFACE   1

Definition at line 173 of file usbprotocoldefs.h.

◆ BOOT_INTERFACE_SUBCLASS

#define BOOT_INTERFACE_SUBCLASS   0x01

Definition at line 201 of file usbprotocoldefs.h.

◆ BULK_ENDPOINT

#define BULK_ENDPOINT   2

Definition at line 218 of file usbprotocoldefs.h.

◆ C_HUB_LOCAL_POWER

#define C_HUB_LOCAL_POWER   0

Definition at line 148 of file usbprotocoldefs.h.

◆ C_HUB_OVER_CURRENT

#define C_HUB_OVER_CURRENT   1

Definition at line 149 of file usbprotocoldefs.h.

◆ C_PORT_CONNECTION

#define C_PORT_CONNECTION   16

Definition at line 157 of file usbprotocoldefs.h.

◆ C_PORT_ENABLE

#define C_PORT_ENABLE   17

Definition at line 158 of file usbprotocoldefs.h.

◆ C_PORT_OVER_CURRENT

#define C_PORT_OVER_CURRENT   19

Definition at line 160 of file usbprotocoldefs.h.

◆ C_PORT_RESET

#define C_PORT_RESET   20

Definition at line 161 of file usbprotocoldefs.h.

◆ C_PORT_SUSPEND

#define C_PORT_SUSPEND   18

Definition at line 159 of file usbprotocoldefs.h.

◆ CLEAR_FEATURE

#define CLEAR_FEATURE   1

Definition at line 90 of file usbprotocoldefs.h.

◆ CLEAR_TT_BUFFER

#define CLEAR_TT_BUFFER   8

Definition at line 143 of file usbprotocoldefs.h.

◆ COMMON_CLASS

#define COMMON_CLASS   0x02

Definition at line 202 of file usbprotocoldefs.h.

◆ CONFIG_BUS_POWERED

#define CONFIG_BUS_POWERED   0x80

Definition at line 187 of file usbprotocoldefs.h.

◆ CONFIG_DESCRIPTION_TYPE

#define CONFIG_DESCRIPTION_TYPE   0x200

Definition at line 183 of file usbprotocoldefs.h.

◆ CONFIG_REMOTE_WAKEUP

#define CONFIG_REMOTE_WAKEUP   0x20

Definition at line 189 of file usbprotocoldefs.h.

◆ CONFIG_SELF_POWERED

#define CONFIG_SELF_POWERED   0x40

Definition at line 188 of file usbprotocoldefs.h.

◆ CONFIGURATION_DESCRIPTOR

#define CONFIGURATION_DESCRIPTOR   0x02

Definition at line 50 of file usbprotocoldefs.h.

◆ CONTROL_ENDPOINT

#define CONTROL_ENDPOINT   0

Definition at line 216 of file usbprotocoldefs.h.

◆ DEVICE_DESCRIPTION_TYPE

#define DEVICE_DESCRIPTION_TYPE   0x100

Definition at line 180 of file usbprotocoldefs.h.

◆ DEVICE_DESCRIPTOR

Definition at line 49 of file usbprotocoldefs.h.

◆ DIR_DEVICE_TO_HOST

#define DIR_DEVICE_TO_HOST   1

Definition at line 69 of file usbprotocoldefs.h.

◆ DIR_HOST_TO_DEVICE

#define DIR_HOST_TO_DEVICE   0

Definition at line 68 of file usbprotocoldefs.h.

◆ ENDPOINT_DESCRIPTOR

#define ENDPOINT_DESCRIPTOR   0x05

Definition at line 53 of file usbprotocoldefs.h.

◆ ENDPOINT_DIRECTION_IN

#define ENDPOINT_DIRECTION_IN   1

Definition at line 311 of file usbprotocoldefs.h.

◆ ENDPOINT_DIRECTION_OUT

#define ENDPOINT_DIRECTION_OUT   0

Definition at line 310 of file usbprotocoldefs.h.

◆ ENDPOINT_TYPE

#define ENDPOINT_TYPE   0x03

Definition at line 215 of file usbprotocoldefs.h.

◆ EP_IN

#define EP_IN   1

Definition at line 210 of file usbprotocoldefs.h.

◆ EP_OUT

#define EP_OUT   0

Definition at line 209 of file usbprotocoldefs.h.

◆ EXEC_RC_CMD

#define EXEC_RC_CMD   40

Definition at line 121 of file usbprotocoldefs.h.

◆ GET_CONFIGURATION

#define GET_CONFIGURATION   8

Definition at line 95 of file usbprotocoldefs.h.

◆ GET_DESCRIPTOR

#define GET_DESCRIPTOR   6

Definition at line 93 of file usbprotocoldefs.h.

◆ GET_IDLE

#define GET_IDLE   0x02

Definition at line 105 of file usbprotocoldefs.h.

◆ GET_INTERFACE

#define GET_INTERFACE   10

Definition at line 97 of file usbprotocoldefs.h.

◆ GET_PROTOCOL

#define GET_PROTOCOL   0x03

Definition at line 106 of file usbprotocoldefs.h.

◆ GET_REPORT

#define GET_REPORT   0x01

Definition at line 104 of file usbprotocoldefs.h.

◆ GET_STATUS

#define GET_STATUS   0

Definition at line 89 of file usbprotocoldefs.h.

◆ GET_TIME

#define GET_TIME   25

Definition at line 116 of file usbprotocoldefs.h.

◆ GET_TT_STATE

#define GET_TT_STATE   10

Definition at line 145 of file usbprotocoldefs.h.

◆ HALT_ENDPOINT

#define HALT_ENDPOINT   0

Definition at line 176 of file usbprotocoldefs.h.

◆ HID_DESCRIPTOR

#define HID_DESCRIPTOR   0x21

Definition at line 58 of file usbprotocoldefs.h.

◆ HID_DEVICE_RELEASE

#define HID_DEVICE_RELEASE   0x0100

Definition at line 40 of file usbprotocoldefs.h.

◆ HID_MAX_PACKET_SIZE

#define HID_MAX_PACKET_SIZE   0x0008

Definition at line 42 of file usbprotocoldefs.h.

◆ HID_MAX_PACKET_SIZE0

#define HID_MAX_PACKET_SIZE0   0x08

Definition at line 38 of file usbprotocoldefs.h.

◆ HID_POLLING_INTERVAL

#define HID_POLLING_INTERVAL   0x0A

Definition at line 43 of file usbprotocoldefs.h.

◆ HID_PROTOCOL_TYPE_BOOT

#define HID_PROTOCOL_TYPE_BOOT   0x00

Definition at line 131 of file usbprotocoldefs.h.

◆ HID_PROTOCOL_TYPE_REPORT

#define HID_PROTOCOL_TYPE_REPORT   0x01

Definition at line 132 of file usbprotocoldefs.h.

◆ HID_REPORT_TYPE_FEATURE

#define HID_REPORT_TYPE_FEATURE   0x03

Definition at line 129 of file usbprotocoldefs.h.

◆ HID_REPORT_TYPE_INPUT

#define HID_REPORT_TYPE_INPUT   0x01

Definition at line 127 of file usbprotocoldefs.h.

◆ HID_REPORT_TYPE_OUTPUT

#define HID_REPORT_TYPE_OUTPUT   0x02

Definition at line 128 of file usbprotocoldefs.h.

◆ HID_SPEC

#define HID_SPEC   0x0101

Definition at line 32 of file usbprotocoldefs.h.

◆ HUB_DESCRIPTOR

#define HUB_DESCRIPTOR   0x29

Definition at line 61 of file usbprotocoldefs.h.

◆ HUB_DEVICE_PROTOCOL_1X

#define HUB_DEVICE_PROTOCOL_1X   0

Definition at line 134 of file usbprotocoldefs.h.

◆ HUB_DEVICE_PROTOCOL_MULTI_TT

#define HUB_DEVICE_PROTOCOL_MULTI_TT   2

Definition at line 136 of file usbprotocoldefs.h.

◆ HUB_DEVICE_PROTOCOL_SINGLE_TT

#define HUB_DEVICE_PROTOCOL_SINGLE_TT   1

Definition at line 135 of file usbprotocoldefs.h.

◆ HUB_INTERFACE_PROTOCOL_1X

#define HUB_INTERFACE_PROTOCOL_1X   0

Definition at line 138 of file usbprotocoldefs.h.

◆ HUB_INTERFACE_PROTOCOL_MULTI_TT_IN_MULTI_TT_MODE

#define HUB_INTERFACE_PROTOCOL_MULTI_TT_IN_MULTI_TT_MODE   2

Definition at line 141 of file usbprotocoldefs.h.

◆ HUB_INTERFACE_PROTOCOL_MULTI_TT_IN_SINGLE_TT_MODE

#define HUB_INTERFACE_PROTOCOL_MULTI_TT_IN_SINGLE_TT_MODE   1

Definition at line 140 of file usbprotocoldefs.h.

◆ HUB_INTERFACE_PROTOCOL_SINGLE_TT

#define HUB_INTERFACE_PROTOCOL_SINGLE_TT   0

Definition at line 139 of file usbprotocoldefs.h.

◆ INTERFACE_DESCRIPTOR

#define INTERFACE_DESCRIPTOR   0x04

Definition at line 52 of file usbprotocoldefs.h.

◆ INTERFACE_POWER_DESCRIPTOR

#define INTERFACE_POWER_DESCRIPTOR   0x08

Definition at line 56 of file usbprotocoldefs.h.

◆ INTERRUPT_ENDPOINT

#define INTERRUPT_ENDPOINT   3

Definition at line 219 of file usbprotocoldefs.h.

◆ ISOCHRONOUS_ENDPOINT

#define ISOCHRONOUS_ENDPOINT   1

Definition at line 217 of file usbprotocoldefs.h.

◆ MAKE_ENDPOINT_ADDRESS

#define MAKE_ENDPOINT_ADDRESS (   num,
  dir 
)     ( ((BYTE)(dir) << 7) | ((BYTE)(num) & 0x0F) )

Definition at line 212 of file usbprotocoldefs.h.

◆ MAX_POLLING_INTERVAL

#define MAX_POLLING_INTERVAL   0xFF

Definition at line 44 of file usbprotocoldefs.h.

◆ MICROSOFT_VENDOR_ID

#define MICROSOFT_VENDOR_ID   0x045E

Definition at line 39 of file usbprotocoldefs.h.

◆ MSOS_DESCRIPTION_TYPE

#define MSOS_DESCRIPTION_TYPE   0x3EE

Definition at line 185 of file usbprotocoldefs.h.

◆ OTHER_SPEED_DESCRIPTION_TYPE

#define OTHER_SPEED_DESCRIPTION_TYPE   0x700

Definition at line 182 of file usbprotocoldefs.h.

◆ OTHER_SPEED_DESCRIPTOR

#define OTHER_SPEED_DESCRIPTOR   0x07

Definition at line 55 of file usbprotocoldefs.h.

◆ PHYSICAL_DESCRIPTOR

#define PHYSICAL_DESCRIPTOR   0x23

Definition at line 60 of file usbprotocoldefs.h.

◆ PID_DATA0

#define PID_DATA0   3

Definition at line 14 of file usbprotocoldefs.h.

◆ PID_DATA1

#define PID_DATA1   11

Definition at line 15 of file usbprotocoldefs.h.

◆ PID_DATA2

#define PID_DATA2   7

Definition at line 16 of file usbprotocoldefs.h.

◆ PID_IN

#define PID_IN   9

Definition at line 10 of file usbprotocoldefs.h.

◆ PID_MDATA

#define PID_MDATA   15

Definition at line 17 of file usbprotocoldefs.h.

◆ PID_OUT

#define PID_OUT   1

Definition at line 9 of file usbprotocoldefs.h.

◆ PID_SETUP

#define PID_SETUP   13

Definition at line 12 of file usbprotocoldefs.h.

◆ PID_SOF

#define PID_SOF   5

Definition at line 11 of file usbprotocoldefs.h.

◆ PORT_CONNECTION

#define PORT_CONNECTION   0

Definition at line 150 of file usbprotocoldefs.h.

◆ PORT_ENABLE

#define PORT_ENABLE   1

Definition at line 151 of file usbprotocoldefs.h.

◆ PORT_INDICATOR

#define PORT_INDICATOR   22

Definition at line 163 of file usbprotocoldefs.h.

◆ PORT_LOW_SPEED

#define PORT_LOW_SPEED   9

Definition at line 156 of file usbprotocoldefs.h.

◆ PORT_OVER_CURRENT

#define PORT_OVER_CURRENT   3

Definition at line 153 of file usbprotocoldefs.h.

◆ PORT_POWER

#define PORT_POWER   8

Definition at line 155 of file usbprotocoldefs.h.

◆ PORT_RESET

#define PORT_RESET   4

Definition at line 154 of file usbprotocoldefs.h.

◆ PORT_SUSPEND

#define PORT_SUSPEND   2

Definition at line 152 of file usbprotocoldefs.h.

◆ PORT_TEST

#define PORT_TEST   21

Definition at line 162 of file usbprotocoldefs.h.

◆ PROTOCOL_KEYBOARD

#define PROTOCOL_KEYBOARD   0x01

Definition at line 206 of file usbprotocoldefs.h.

◆ PROTOCOL_MOUSE

#define PROTOCOL_MOUSE   0x02

Definition at line 207 of file usbprotocoldefs.h.

◆ PROTOCOL_NONE

#define PROTOCOL_NONE   0x00

Definition at line 205 of file usbprotocoldefs.h.

◆ QUALIFIER_DESCRIPTION_TYPE

#define QUALIFIER_DESCRIPTION_TYPE   0x600

Definition at line 181 of file usbprotocoldefs.h.

◆ QUALIFIER_DESCRIPTOR

#define QUALIFIER_DESCRIPTOR   0x06

Definition at line 54 of file usbprotocoldefs.h.

◆ RCPT_DEVICE

#define RCPT_DEVICE   0

Definition at line 76 of file usbprotocoldefs.h.

◆ RCPT_ENDPOINT

#define RCPT_ENDPOINT   2

Definition at line 78 of file usbprotocoldefs.h.

◆ RCPT_INTERFACE

#define RCPT_INTERFACE   1

Definition at line 77 of file usbprotocoldefs.h.

◆ RCPT_OTHER

#define RCPT_OTHER   3

Definition at line 79 of file usbprotocoldefs.h.

◆ RCPT_PORT

#define RCPT_PORT   4

Definition at line 80 of file usbprotocoldefs.h.

◆ RCPT_RPIPE

#define RCPT_RPIPE   5

Definition at line 81 of file usbprotocoldefs.h.

◆ REMOTE_WAKEUP

#define REMOTE_WAKEUP   1

Definition at line 177 of file usbprotocoldefs.h.

◆ REMOVE_MMC_IE

#define REMOVE_MMC_IE   21

Definition at line 112 of file usbprotocoldefs.h.

◆ REPORT_DESCRIPTOR

#define REPORT_DESCRIPTOR   0x22

Definition at line 59 of file usbprotocoldefs.h.

◆ RESET_TT

#define RESET_TT   9

Definition at line 144 of file usbprotocoldefs.h.

◆ SET_ADDRESS

#define SET_ADDRESS   5

Definition at line 92 of file usbprotocoldefs.h.

◆ SET_CLUSTER_ID

#define SET_CLUSTER_ID   23

Definition at line 114 of file usbprotocoldefs.h.

◆ SET_CONFIGURATION

#define SET_CONFIGURATION   9

Definition at line 96 of file usbprotocoldefs.h.

◆ SET_DESCRIPTOR

#define SET_DESCRIPTOR   7

Definition at line 94 of file usbprotocoldefs.h.

◆ SET_DEVICE_INFO

#define SET_DEVICE_INFO   24

Definition at line 115 of file usbprotocoldefs.h.

◆ SET_FEATURE

#define SET_FEATURE   3

Definition at line 91 of file usbprotocoldefs.h.

◆ SET_IDLE

#define SET_IDLE   0x0A

Definition at line 108 of file usbprotocoldefs.h.

◆ SET_INTERFACE

#define SET_INTERFACE   11

Definition at line 98 of file usbprotocoldefs.h.

◆ SET_NUM_DNTS

#define SET_NUM_DNTS   22

Definition at line 113 of file usbprotocoldefs.h.

◆ SET_PROTOCOL

#define SET_PROTOCOL   0x0B

Definition at line 109 of file usbprotocoldefs.h.

◆ SET_REPORT

#define SET_REPORT   0x09

Definition at line 107 of file usbprotocoldefs.h.

◆ SET_STREAM_INDEX

#define SET_STREAM_INDEX   26

Definition at line 117 of file usbprotocoldefs.h.

◆ SET_WUSB_MAS

#define SET_WUSB_MAS   27

Definition at line 118 of file usbprotocoldefs.h.

◆ STOP_TT

#define STOP_TT   11

Definition at line 146 of file usbprotocoldefs.h.

◆ STRING_DESCRIPTION_TYPE

#define STRING_DESCRIPTION_TYPE   0x300

Definition at line 184 of file usbprotocoldefs.h.

◆ STRING_DESCRIPTOR

#define STRING_DESCRIPTOR   0x03

Definition at line 51 of file usbprotocoldefs.h.

◆ SYNCH_FRAME

#define SYNCH_FRAME   12

Definition at line 99 of file usbprotocoldefs.h.

◆ TEST_MODE

#define TEST_MODE   2

Definition at line 178 of file usbprotocoldefs.h.

◆ TIME_ADJ

#define TIME_ADJ   0x01

Definition at line 123 of file usbprotocoldefs.h.

◆ TIME_BPST

#define TIME_BPST   0x02

Definition at line 124 of file usbprotocoldefs.h.

◆ TIME_WUSB

#define TIME_WUSB   0x03

Definition at line 125 of file usbprotocoldefs.h.

◆ TYPE_CLASS

#define TYPE_CLASS   1

Definition at line 72 of file usbprotocoldefs.h.

◆ TYPE_RESERVED

#define TYPE_RESERVED   3

Definition at line 74 of file usbprotocoldefs.h.

◆ TYPE_STANDARD

#define TYPE_STANDARD   0

Definition at line 71 of file usbprotocoldefs.h.

◆ TYPE_VENDOR

#define TYPE_VENDOR   2

Definition at line 73 of file usbprotocoldefs.h.

◆ USB_10_SPEC

#define USB_10_SPEC   0x0100

Definition at line 36 of file usbprotocoldefs.h.

◆ USB_11_SPEC

#define USB_11_SPEC   0x0110

Definition at line 35 of file usbprotocoldefs.h.

◆ USB_20_SPEC

#define USB_20_SPEC   0x0200

Definition at line 34 of file usbprotocoldefs.h.

◆ USB_ACK

#define USB_ACK   2

Definition at line 19 of file usbprotocoldefs.h.

◆ USB_BULK_ONLY_MASS_STG_GET_MAX_LUN

#define USB_BULK_ONLY_MASS_STG_GET_MAX_LUN   0xFE

Definition at line 102 of file usbprotocoldefs.h.

◆ USB_BULK_ONLY_MASS_STG_RESET

#define USB_BULK_ONLY_MASS_STG_RESET   0xFF

Definition at line 101 of file usbprotocoldefs.h.

◆ USB_CONNECTED_ADDRESS

#define USB_CONNECTED_ADDRESS (   address)    ( USB_UnConnected_Device_Address != (address) )

Definition at line 7 of file usbprotocoldefs.h.

◆ USB_DEFAULT_KEYBOARD_PRODUCT_ID

#define USB_DEFAULT_KEYBOARD_PRODUCT_ID   0x000B

Definition at line 46 of file usbprotocoldefs.h.

◆ USB_DEFAULT_MOUSE_PRODUCT_ID

#define USB_DEFAULT_MOUSE_PRODUCT_ID   0x0040

Definition at line 47 of file usbprotocoldefs.h.

◆ USB_DESCRIPTOR_TYPE_CLASS

#define USB_DESCRIPTOR_TYPE_CLASS   1

Definition at line 64 of file usbprotocoldefs.h.

◆ USB_DESCRIPTOR_TYPE_RESERVED

#define USB_DESCRIPTOR_TYPE_RESERVED   3

Definition at line 66 of file usbprotocoldefs.h.

◆ USB_DESCRIPTOR_TYPE_STD

#define USB_DESCRIPTOR_TYPE_STD   0

Definition at line 63 of file usbprotocoldefs.h.

◆ USB_DESCRIPTOR_TYPE_VENDOR

#define USB_DESCRIPTOR_TYPE_VENDOR   2

Definition at line 65 of file usbprotocoldefs.h.

◆ USB_ERR

#define USB_ERR   12

Definition at line 25 of file usbprotocoldefs.h.

◆ USB_HID_CLASS_CODE

#define USB_HID_CLASS_CODE   0x03

Definition at line 195 of file usbprotocoldefs.h.

◆ USB_HUB_CLASS_CODE

#define USB_HUB_CLASS_CODE   0x09

Definition at line 197 of file usbprotocoldefs.h.

◆ USB_LANG_AFRIKAANS

#define USB_LANG_AFRIKAANS   0x36

Definition at line 556 of file usbprotocoldefs.h.

◆ USB_LANG_ALBANIAN

#define USB_LANG_ALBANIAN   0x1c

Definition at line 538 of file usbprotocoldefs.h.

◆ USB_LANG_ARABIC

#define USB_LANG_ARABIC   0x01

Definition at line 511 of file usbprotocoldefs.h.

◆ USB_LANG_ARMENIAN

#define USB_LANG_ARMENIAN   0x2b

Definition at line 552 of file usbprotocoldefs.h.

◆ USB_LANG_ASSAMESE

#define USB_LANG_ASSAMESE   0x4d

Definition at line 573 of file usbprotocoldefs.h.

◆ USB_LANG_AZERI

#define USB_LANG_AZERI   0x2c

Definition at line 553 of file usbprotocoldefs.h.

◆ USB_LANG_BASQUE

#define USB_LANG_BASQUE   0x2d

Definition at line 554 of file usbprotocoldefs.h.

◆ USB_LANG_BELARUSIAN

#define USB_LANG_BELARUSIAN   0x23

Definition at line 545 of file usbprotocoldefs.h.

◆ USB_LANG_BENGALI

#define USB_LANG_BENGALI   0x45

Definition at line 565 of file usbprotocoldefs.h.

◆ USB_LANG_BULGARIAN

#define USB_LANG_BULGARIAN   0x02

Definition at line 512 of file usbprotocoldefs.h.

◆ USB_LANG_CATALAN

#define USB_LANG_CATALAN   0x03

Definition at line 513 of file usbprotocoldefs.h.

◆ USB_LANG_CHINESE

#define USB_LANG_CHINESE   0x04

Definition at line 514 of file usbprotocoldefs.h.

◆ USB_LANG_CROATIAN

#define USB_LANG_CROATIAN   0x1a

Definition at line 535 of file usbprotocoldefs.h.

◆ USB_LANG_CZECH

#define USB_LANG_CZECH   0x05

Definition at line 515 of file usbprotocoldefs.h.

◆ USB_LANG_DANISH

#define USB_LANG_DANISH   0x06

Definition at line 516 of file usbprotocoldefs.h.

◆ USB_LANG_DUTCH

#define USB_LANG_DUTCH   0x13

Definition at line 529 of file usbprotocoldefs.h.

◆ USB_LANG_ENGLISH

#define USB_LANG_ENGLISH   0x09

Definition at line 519 of file usbprotocoldefs.h.

◆ USB_LANG_ESTONIAN

#define USB_LANG_ESTONIAN   0x25

Definition at line 547 of file usbprotocoldefs.h.

◆ USB_LANG_FAEROESE

#define USB_LANG_FAEROESE   0x38

Definition at line 558 of file usbprotocoldefs.h.

◆ USB_LANG_FARSI

#define USB_LANG_FARSI   0x29

Definition at line 550 of file usbprotocoldefs.h.

◆ USB_LANG_FINNISH

#define USB_LANG_FINNISH   0x0b

Definition at line 521 of file usbprotocoldefs.h.

◆ USB_LANG_FRENCH

#define USB_LANG_FRENCH   0x0c

Definition at line 522 of file usbprotocoldefs.h.

◆ USB_LANG_GEORGIAN

#define USB_LANG_GEORGIAN   0x37

Definition at line 557 of file usbprotocoldefs.h.

◆ USB_LANG_GERMAN

#define USB_LANG_GERMAN   0x07

Definition at line 517 of file usbprotocoldefs.h.

◆ USB_LANG_GREEK

#define USB_LANG_GREEK   0x08

Definition at line 518 of file usbprotocoldefs.h.

◆ USB_LANG_GUJARATI

#define USB_LANG_GUJARATI   0x47

Definition at line 567 of file usbprotocoldefs.h.

◆ USB_LANG_HEBREW

#define USB_LANG_HEBREW   0x0d

Definition at line 523 of file usbprotocoldefs.h.

◆ USB_LANG_HID

#define USB_LANG_HID   0xff

Definition at line 581 of file usbprotocoldefs.h.

◆ USB_LANG_HINDI

#define USB_LANG_HINDI   0x39

Definition at line 559 of file usbprotocoldefs.h.

◆ USB_LANG_HUNGARIAN

#define USB_LANG_HUNGARIAN   0x0e

Definition at line 524 of file usbprotocoldefs.h.

◆ USB_LANG_ICELANDIC

#define USB_LANG_ICELANDIC   0x0f

Definition at line 525 of file usbprotocoldefs.h.

◆ USB_LANG_INDONESIAN

#define USB_LANG_INDONESIAN   0x21

Definition at line 543 of file usbprotocoldefs.h.

◆ USB_LANG_ITALIAN

#define USB_LANG_ITALIAN   0x10

Definition at line 526 of file usbprotocoldefs.h.

◆ USB_LANG_JAPANESE

#define USB_LANG_JAPANESE   0x11

Definition at line 527 of file usbprotocoldefs.h.

◆ USB_LANG_KANNADA

#define USB_LANG_KANNADA   0x4b

Definition at line 571 of file usbprotocoldefs.h.

◆ USB_LANG_KASHMIRI

#define USB_LANG_KASHMIRI   0x60

Definition at line 579 of file usbprotocoldefs.h.

◆ USB_LANG_KAZAK

#define USB_LANG_KAZAK   0x3f

Definition at line 561 of file usbprotocoldefs.h.

◆ USB_LANG_KONKANI

#define USB_LANG_KONKANI   0x57

Definition at line 576 of file usbprotocoldefs.h.

◆ USB_LANG_KOREAN

#define USB_LANG_KOREAN   0x12

Definition at line 528 of file usbprotocoldefs.h.

◆ USB_LANG_LATVIAN

#define USB_LANG_LATVIAN   0x26

Definition at line 548 of file usbprotocoldefs.h.

◆ USB_LANG_LITHUANIAN

#define USB_LANG_LITHUANIAN   0x27

Definition at line 549 of file usbprotocoldefs.h.

◆ USB_LANG_MACEDONIAN

#define USB_LANG_MACEDONIAN   0x2f

Definition at line 555 of file usbprotocoldefs.h.

◆ USB_LANG_MALAY

#define USB_LANG_MALAY   0x3e

Definition at line 560 of file usbprotocoldefs.h.

◆ USB_LANG_MALAYALAM

#define USB_LANG_MALAYALAM   0x4c

Definition at line 572 of file usbprotocoldefs.h.

◆ USB_LANG_MANIPURI

#define USB_LANG_MANIPURI   0x58

Definition at line 577 of file usbprotocoldefs.h.

◆ USB_LANG_MARATHI

#define USB_LANG_MARATHI   0x4e

Definition at line 574 of file usbprotocoldefs.h.

◆ USB_LANG_NEPALI

#define USB_LANG_NEPALI   0x61

Definition at line 580 of file usbprotocoldefs.h.

◆ USB_LANG_NORWEGIAN

#define USB_LANG_NORWEGIAN   0x14

Definition at line 530 of file usbprotocoldefs.h.

◆ USB_LANG_ORIYA

#define USB_LANG_ORIYA   0x48

Definition at line 568 of file usbprotocoldefs.h.

◆ USB_LANG_POLISH

#define USB_LANG_POLISH   0x15

Definition at line 531 of file usbprotocoldefs.h.

◆ USB_LANG_PORTUGUESE

#define USB_LANG_PORTUGUESE   0x16

Definition at line 532 of file usbprotocoldefs.h.

◆ USB_LANG_PUNJABI

#define USB_LANG_PUNJABI   0x46

Definition at line 566 of file usbprotocoldefs.h.

◆ USB_LANG_RESERVED

#define USB_LANG_RESERVED   0x00

Definition at line 510 of file usbprotocoldefs.h.

◆ USB_LANG_ROMANIAN

#define USB_LANG_ROMANIAN   0x18

Definition at line 533 of file usbprotocoldefs.h.

◆ USB_LANG_RUSSIAN

#define USB_LANG_RUSSIAN   0x19

Definition at line 534 of file usbprotocoldefs.h.

◆ USB_LANG_SANSKRIT

#define USB_LANG_SANSKRIT   0x4f

Definition at line 575 of file usbprotocoldefs.h.

◆ USB_LANG_SERBIAN

#define USB_LANG_SERBIAN   0x1a

Definition at line 536 of file usbprotocoldefs.h.

◆ USB_LANG_SINDHI

#define USB_LANG_SINDHI   0x59

Definition at line 578 of file usbprotocoldefs.h.

◆ USB_LANG_SLOVAK

#define USB_LANG_SLOVAK   0x1b

Definition at line 537 of file usbprotocoldefs.h.

◆ USB_LANG_SLOVENIAN

#define USB_LANG_SLOVENIAN   0x24

Definition at line 546 of file usbprotocoldefs.h.

◆ USB_LANG_SPANISH

#define USB_LANG_SPANISH   0x0a

Definition at line 520 of file usbprotocoldefs.h.

◆ USB_LANG_SWAHILI

#define USB_LANG_SWAHILI   0x41

Definition at line 562 of file usbprotocoldefs.h.

◆ USB_LANG_SWEDISH

#define USB_LANG_SWEDISH   0x1d

Definition at line 539 of file usbprotocoldefs.h.

◆ USB_LANG_TAMIL

#define USB_LANG_TAMIL   0x49

Definition at line 569 of file usbprotocoldefs.h.

◆ USB_LANG_TATAR

#define USB_LANG_TATAR   0x44

Definition at line 564 of file usbprotocoldefs.h.

◆ USB_LANG_TELUGU

#define USB_LANG_TELUGU   0x4a

Definition at line 570 of file usbprotocoldefs.h.

◆ USB_LANG_THAI

#define USB_LANG_THAI   0x1e

Definition at line 540 of file usbprotocoldefs.h.

◆ USB_LANG_TURKISH

#define USB_LANG_TURKISH   0x1f

Definition at line 541 of file usbprotocoldefs.h.

◆ USB_LANG_UKRANIAN

#define USB_LANG_UKRANIAN   0x22

Definition at line 544 of file usbprotocoldefs.h.

◆ USB_LANG_URDU

#define USB_LANG_URDU   0x20

Definition at line 542 of file usbprotocoldefs.h.

◆ USB_LANG_UZBEK

#define USB_LANG_UZBEK   0x43

Definition at line 563 of file usbprotocoldefs.h.

◆ USB_LANG_VIETNAMESE

#define USB_LANG_VIETNAMESE   0x2a

Definition at line 551 of file usbprotocoldefs.h.

◆ USB_MAKE_LANGID

#define USB_MAKE_LANGID (   lang,
  sublang 
)     ((((USHORT)(sublang)) << 10) | (USHORT)(lang))

Definition at line 507 of file usbprotocoldefs.h.

◆ USB_MAKE_REQUEST_TYPE

#define USB_MAKE_REQUEST_TYPE (   direction,
  type,
  recipient 
)
Value:
(BYTE)( ((BYTE)direction << 7) | \
((BYTE)type << 5) | ((BYTE)recipient & 0x07) )
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
unsigned char BYTE
Definition: xxhash.c:193

Definition at line 84 of file usbprotocoldefs.h.

◆ USB_MASS_STORAGE_CLASS_CODE

#define USB_MASS_STORAGE_CLASS_CODE   0x08

Definition at line 196 of file usbprotocoldefs.h.

◆ USB_MISCELLANEOUS

#define USB_MISCELLANEOUS   0xEF

Definition at line 198 of file usbprotocoldefs.h.

◆ USB_NAK

#define USB_NAK   10

Definition at line 20 of file usbprotocoldefs.h.

◆ USB_NYET

#define USB_NYET   6

Definition at line 22 of file usbprotocoldefs.h.

◆ USB_PING

#define USB_PING   4

Definition at line 27 of file usbprotocoldefs.h.

◆ USB_PRE

#define USB_PRE   12

Definition at line 24 of file usbprotocoldefs.h.

◆ USB_RADIO_CONTROL

#define USB_RADIO_CONTROL   0x2

Definition at line 193 of file usbprotocoldefs.h.

◆ USB_RF_CONTROL

#define USB_RF_CONTROL   0x01

Definition at line 203 of file usbprotocoldefs.h.

◆ USB_SPEC

#define USB_SPEC   0x0200

Definition at line 31 of file usbprotocoldefs.h.

◆ USB_SPLIT

#define USB_SPLIT   8

Definition at line 26 of file usbprotocoldefs.h.

◆ USB_STALL

#define USB_STALL   14

Definition at line 21 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_ALGERIA

#define USB_SUBLANG_ARABIC_ALGERIA   0x05

Definition at line 588 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_BAHRAIN

#define USB_SUBLANG_ARABIC_BAHRAIN   0x15

Definition at line 598 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_EGYPT

#define USB_SUBLANG_ARABIC_EGYPT   0x03

Definition at line 586 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_IRAQ

#define USB_SUBLANG_ARABIC_IRAQ   0x02

Definition at line 585 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_JORDAN

#define USB_SUBLANG_ARABIC_JORDAN   0x11

Definition at line 594 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_KUWAIT

#define USB_SUBLANG_ARABIC_KUWAIT   0x13

Definition at line 596 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_LEBANON

#define USB_SUBLANG_ARABIC_LEBANON   0x12

Definition at line 595 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_LIBYA

#define USB_SUBLANG_ARABIC_LIBYA   0x04

Definition at line 587 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_MOROCCO

#define USB_SUBLANG_ARABIC_MOROCCO   0x06

Definition at line 589 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_OMAN

#define USB_SUBLANG_ARABIC_OMAN   0x08

Definition at line 591 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_QATAR

#define USB_SUBLANG_ARABIC_QATAR   0x16

Definition at line 599 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_SAUDI_ARABIA [1/2]

#define USB_SUBLANG_ARABIC_SAUDI_ARABIA   0x01

Definition at line 584 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_SAUDI_ARABIA [2/2]

#define USB_SUBLANG_ARABIC_SAUDI_ARABIA   0x01

Definition at line 584 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_SYRIA

#define USB_SUBLANG_ARABIC_SYRIA   0x10

Definition at line 593 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_TUNISIA

#define USB_SUBLANG_ARABIC_TUNISIA   0x07

Definition at line 590 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_UAE

#define USB_SUBLANG_ARABIC_UAE   0x14

Definition at line 597 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ARABIC_YEMEN

#define USB_SUBLANG_ARABIC_YEMEN   0x09

Definition at line 592 of file usbprotocoldefs.h.

◆ USB_SUBLANG_AZERI_CYRILLIC

#define USB_SUBLANG_AZERI_CYRILLIC   0x01

Definition at line 600 of file usbprotocoldefs.h.

◆ USB_SUBLANG_AZERI_LATIN

#define USB_SUBLANG_AZERI_LATIN   0x02

Definition at line 601 of file usbprotocoldefs.h.

◆ USB_SUBLANG_CHINESE_HONGKONG

#define USB_SUBLANG_CHINESE_HONGKONG   0x03

Definition at line 604 of file usbprotocoldefs.h.

◆ USB_SUBLANG_CHINESE_MACAU

#define USB_SUBLANG_CHINESE_MACAU   0x05

Definition at line 606 of file usbprotocoldefs.h.

◆ USB_SUBLANG_CHINESE_SIMPLIFIED

#define USB_SUBLANG_CHINESE_SIMPLIFIED   0x02

Definition at line 603 of file usbprotocoldefs.h.

◆ USB_SUBLANG_CHINESE_SINGAPORE

#define USB_SUBLANG_CHINESE_SINGAPORE   0x04

Definition at line 605 of file usbprotocoldefs.h.

◆ USB_SUBLANG_CHINESE_TRADITIONAL

#define USB_SUBLANG_CHINESE_TRADITIONAL   0x01

Definition at line 602 of file usbprotocoldefs.h.

◆ USB_SUBLANG_DUTCH

#define USB_SUBLANG_DUTCH   0x01

Definition at line 607 of file usbprotocoldefs.h.

◆ USB_SUBLANG_DUTCH_BELGIAN

#define USB_SUBLANG_DUTCH_BELGIAN   0x02

Definition at line 608 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ENGLISH_AUS

#define USB_SUBLANG_ENGLISH_AUS   0x03

Definition at line 611 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ENGLISH_BELIZE

#define USB_SUBLANG_ENGLISH_BELIZE   0x0a

Definition at line 618 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ENGLISH_CAN

#define USB_SUBLANG_ENGLISH_CAN   0x04

Definition at line 612 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ENGLISH_CARIBBEAN

#define USB_SUBLANG_ENGLISH_CARIBBEAN   0x09

Definition at line 617 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ENGLISH_EIRE

#define USB_SUBLANG_ENGLISH_EIRE   0x06

Definition at line 614 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ENGLISH_JAMAICA

#define USB_SUBLANG_ENGLISH_JAMAICA   0x08

Definition at line 616 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ENGLISH_NZ

#define USB_SUBLANG_ENGLISH_NZ   0x05

Definition at line 613 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ENGLISH_PHILIPPINES

#define USB_SUBLANG_ENGLISH_PHILIPPINES   0x0c

Definition at line 620 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ENGLISH_SOUTH_AFRICA

#define USB_SUBLANG_ENGLISH_SOUTH_AFRICA   0x07

Definition at line 615 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ENGLISH_TRINIDAD

#define USB_SUBLANG_ENGLISH_TRINIDAD   0x0b

Definition at line 619 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ENGLISH_UK

#define USB_SUBLANG_ENGLISH_UK   0x02

Definition at line 610 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ENGLISH_US

#define USB_SUBLANG_ENGLISH_US   0x01

Definition at line 609 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ENGLISH_ZIMBABWE

#define USB_SUBLANG_ENGLISH_ZIMBABWE   0x0d

Definition at line 621 of file usbprotocoldefs.h.

◆ USB_SUBLANG_FRENCH

#define USB_SUBLANG_FRENCH   0x01

Definition at line 622 of file usbprotocoldefs.h.

◆ USB_SUBLANG_FRENCH_BELGIAN

#define USB_SUBLANG_FRENCH_BELGIAN   0x02

Definition at line 623 of file usbprotocoldefs.h.

◆ USB_SUBLANG_FRENCH_CANADIAN

#define USB_SUBLANG_FRENCH_CANADIAN   0x03

Definition at line 624 of file usbprotocoldefs.h.

◆ USB_SUBLANG_FRENCH_LUXEMBOURG

#define USB_SUBLANG_FRENCH_LUXEMBOURG   0x05

Definition at line 626 of file usbprotocoldefs.h.

◆ USB_SUBLANG_FRENCH_MONACO

#define USB_SUBLANG_FRENCH_MONACO   0x06

Definition at line 627 of file usbprotocoldefs.h.

◆ USB_SUBLANG_FRENCH_SWISS

#define USB_SUBLANG_FRENCH_SWISS   0x04

Definition at line 625 of file usbprotocoldefs.h.

◆ USB_SUBLANG_GERMAN

#define USB_SUBLANG_GERMAN   0x01

Definition at line 628 of file usbprotocoldefs.h.

◆ USB_SUBLANG_GERMAN_AUSTRIAN

#define USB_SUBLANG_GERMAN_AUSTRIAN   0x03

Definition at line 630 of file usbprotocoldefs.h.

◆ USB_SUBLANG_GERMAN_LIECHTENSTEIN

#define USB_SUBLANG_GERMAN_LIECHTENSTEIN   0x05

Definition at line 632 of file usbprotocoldefs.h.

◆ USB_SUBLANG_GERMAN_LUXEMBOURG

#define USB_SUBLANG_GERMAN_LUXEMBOURG   0x04

Definition at line 631 of file usbprotocoldefs.h.

◆ USB_SUBLANG_GERMAN_SWISS

#define USB_SUBLANG_GERMAN_SWISS   0x02

Definition at line 629 of file usbprotocoldefs.h.

◆ USB_SUBLANG_HID_USAGE_DATA_DESCRIPTOR

#define USB_SUBLANG_HID_USAGE_DATA_DESCRIPTOR   0x01

Definition at line 673 of file usbprotocoldefs.h.

◆ USB_SUBLANG_HID_VENDOR_DEFINED_1

#define USB_SUBLANG_HID_VENDOR_DEFINED_1   0x3c

Definition at line 674 of file usbprotocoldefs.h.

◆ USB_SUBLANG_HID_VENDOR_DEFINED_2

#define USB_SUBLANG_HID_VENDOR_DEFINED_2   0x3d

Definition at line 675 of file usbprotocoldefs.h.

◆ USB_SUBLANG_HID_VENDOR_DEFINED_3

#define USB_SUBLANG_HID_VENDOR_DEFINED_3   0x3e

Definition at line 676 of file usbprotocoldefs.h.

◆ USB_SUBLANG_HID_VENDOR_DEFINED_4

#define USB_SUBLANG_HID_VENDOR_DEFINED_4   0x3f

Definition at line 677 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ITALIAN

#define USB_SUBLANG_ITALIAN   0x01

Definition at line 633 of file usbprotocoldefs.h.

◆ USB_SUBLANG_ITALIAN_SWISS

#define USB_SUBLANG_ITALIAN_SWISS   0x02

Definition at line 634 of file usbprotocoldefs.h.

◆ USB_SUBLANG_KASHMIRI_INDIA

#define USB_SUBLANG_KASHMIRI_INDIA   0x02

Definition at line 635 of file usbprotocoldefs.h.

◆ USB_SUBLANG_KOREAN

#define USB_SUBLANG_KOREAN   0x01

Definition at line 636 of file usbprotocoldefs.h.

◆ USB_SUBLANG_LITHUANIAN

#define USB_SUBLANG_LITHUANIAN   0x01

Definition at line 637 of file usbprotocoldefs.h.

◆ USB_SUBLANG_MALAY_BRUNEI_DARUSSALAM

#define USB_SUBLANG_MALAY_BRUNEI_DARUSSALAM   0x02

Definition at line 639 of file usbprotocoldefs.h.

◆ USB_SUBLANG_MALAY_MALAYSIA

#define USB_SUBLANG_MALAY_MALAYSIA   0x01

Definition at line 638 of file usbprotocoldefs.h.

◆ USB_SUBLANG_NEPALI_INDIA

#define USB_SUBLANG_NEPALI_INDIA   0x02

Definition at line 640 of file usbprotocoldefs.h.

◆ USB_SUBLANG_NORWEGIAN_BOKMAL

#define USB_SUBLANG_NORWEGIAN_BOKMAL   0x01

Definition at line 641 of file usbprotocoldefs.h.

◆ USB_SUBLANG_NORWEGIAN_NYNORSK

#define USB_SUBLANG_NORWEGIAN_NYNORSK   0x02

Definition at line 642 of file usbprotocoldefs.h.

◆ USB_SUBLANG_PORTUGUESE

#define USB_SUBLANG_PORTUGUESE   0x01

Definition at line 643 of file usbprotocoldefs.h.

◆ USB_SUBLANG_PORTUGUESE_BRAZILIAN

#define USB_SUBLANG_PORTUGUESE_BRAZILIAN   0x02

Definition at line 644 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SERBIAN_CYRILLIC

#define USB_SUBLANG_SERBIAN_CYRILLIC   0x03

Definition at line 646 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SERBIAN_LATIN

#define USB_SUBLANG_SERBIAN_LATIN   0x02

Definition at line 645 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH

#define USB_SUBLANG_SPANISH   0x01

Definition at line 647 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_ARGENTINA

#define USB_SUBLANG_SPANISH_ARGENTINA   0x0b

Definition at line 657 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_BOLIVIA

#define USB_SUBLANG_SPANISH_BOLIVIA   0x10

Definition at line 662 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_CHILE

#define USB_SUBLANG_SPANISH_CHILE   0x0d

Definition at line 659 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_COLOMBIA

#define USB_SUBLANG_SPANISH_COLOMBIA   0x09

Definition at line 655 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_COSTA_RICA

#define USB_SUBLANG_SPANISH_COSTA_RICA   0x05

Definition at line 651 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_DOMINICAN_REPUBLIC

#define USB_SUBLANG_SPANISH_DOMINICAN_REPUBLIC   0x07

Definition at line 653 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_ECUADOR

#define USB_SUBLANG_SPANISH_ECUADOR   0x0c

Definition at line 658 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_EL_SALVADOR

#define USB_SUBLANG_SPANISH_EL_SALVADOR   0x11

Definition at line 663 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_GUATEMALA

#define USB_SUBLANG_SPANISH_GUATEMALA   0x04

Definition at line 650 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_HONDURAS

#define USB_SUBLANG_SPANISH_HONDURAS   0x12

Definition at line 664 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_MEXICAN

#define USB_SUBLANG_SPANISH_MEXICAN   0x02

Definition at line 648 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_MODERN

#define USB_SUBLANG_SPANISH_MODERN   0x03

Definition at line 649 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_NICARAGUA

#define USB_SUBLANG_SPANISH_NICARAGUA   0x13

Definition at line 665 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_PANAMA

#define USB_SUBLANG_SPANISH_PANAMA   0x06

Definition at line 652 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_PARAGUAY

#define USB_SUBLANG_SPANISH_PARAGUAY   0x0f

Definition at line 661 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_PERU

#define USB_SUBLANG_SPANISH_PERU   0x0a

Definition at line 656 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_PUERTO_RICO

#define USB_SUBLANG_SPANISH_PUERTO_RICO   0x14

Definition at line 666 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_URUGUAY

#define USB_SUBLANG_SPANISH_URUGUAY   0x0e

Definition at line 660 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SPANISH_VENEZUELA

#define USB_SUBLANG_SPANISH_VENEZUELA   0x08

Definition at line 654 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SWEDISH

#define USB_SUBLANG_SWEDISH   0x01

Definition at line 667 of file usbprotocoldefs.h.

◆ USB_SUBLANG_SWEDISH_FINLAND

#define USB_SUBLANG_SWEDISH_FINLAND   0x02

Definition at line 668 of file usbprotocoldefs.h.

◆ USB_SUBLANG_URDU_INDIA

#define USB_SUBLANG_URDU_INDIA   0x02

Definition at line 670 of file usbprotocoldefs.h.

◆ USB_SUBLANG_URDU_PAKISTAN

#define USB_SUBLANG_URDU_PAKISTAN   0x01

Definition at line 669 of file usbprotocoldefs.h.

◆ USB_SUBLANG_UZBEK_CYRILLIC

#define USB_SUBLANG_UZBEK_CYRILLIC   0x02

Definition at line 672 of file usbprotocoldefs.h.

◆ USB_SUBLANG_UZBEK_LATIN

#define USB_SUBLANG_UZBEK_LATIN   0x01

Definition at line 671 of file usbprotocoldefs.h.

◆ USB_SYNC_TYPE_ADAPTIVE

#define USB_SYNC_TYPE_ADAPTIVE   2

Definition at line 331 of file usbprotocoldefs.h.

◆ USB_SYNC_TYPE_ASYNC

#define USB_SYNC_TYPE_ASYNC   1

Definition at line 330 of file usbprotocoldefs.h.

◆ USB_SYNC_TYPE_NONE

#define USB_SYNC_TYPE_NONE   0

Definition at line 329 of file usbprotocoldefs.h.

◆ USB_SYNC_TYPE_SYNC

#define USB_SYNC_TYPE_SYNC   3

Definition at line 332 of file usbprotocoldefs.h.

◆ USB_TIMEOUT

#define USB_TIMEOUT   0

Definition at line 29 of file usbprotocoldefs.h.

◆ USB_TRANSFER_TYPE_BULK

#define USB_TRANSFER_TYPE_BULK   2

Definition at line 326 of file usbprotocoldefs.h.

◆ USB_TRANSFER_TYPE_CONTROL

#define USB_TRANSFER_TYPE_CONTROL   0

Definition at line 324 of file usbprotocoldefs.h.

◆ USB_TRANSFER_TYPE_INTERRUPT

#define USB_TRANSFER_TYPE_INTERRUPT   3

Definition at line 327 of file usbprotocoldefs.h.

◆ USB_TRANSFER_TYPE_ISOCH

#define USB_TRANSFER_TYPE_ISOCH   1

Definition at line 325 of file usbprotocoldefs.h.

◆ USB_UNCONNECTED_ADDRESS

#define USB_UNCONNECTED_ADDRESS (   address)    ( USB_UnConnected_Device_Address == (address))

Definition at line 6 of file usbprotocoldefs.h.

◆ USB_UnConnected_Device_Address

#define USB_UnConnected_Device_Address   0

Definition at line 5 of file usbprotocoldefs.h.

◆ USB_USAGE_TYPE_DATA

#define USB_USAGE_TYPE_DATA   0

Definition at line 334 of file usbprotocoldefs.h.

◆ USB_USAGE_TYPE_FEEDBACK

#define USB_USAGE_TYPE_FEEDBACK   1

Definition at line 335 of file usbprotocoldefs.h.

◆ USB_USAGE_TYPE_IMPLICIT

#define USB_USAGE_TYPE_IMPLICIT   2

Definition at line 336 of file usbprotocoldefs.h.

◆ USB_USAGE_TYPE_RESERVED

#define USB_USAGE_TYPE_RESERVED   3

Definition at line 337 of file usbprotocoldefs.h.

◆ USB_WA_MULTIFUNCTION

#define USB_WA_MULTIFUNCTION   0x02

Definition at line 191 of file usbprotocoldefs.h.

◆ USB_WA_PROTOCOL

#define USB_WA_PROTOCOL   0x01

Definition at line 192 of file usbprotocoldefs.h.

◆ USB_WIRELESS_WA

#define USB_WIRELESS_WA   0xE0

Definition at line 199 of file usbprotocoldefs.h.

◆ USBINREQUEST

#define USBINREQUEST   128

Definition at line 166 of file usbprotocoldefs.h.

◆ USBSETUPSIZE

#define USBSETUPSIZE   8

Definition at line 165 of file usbprotocoldefs.h.

◆ WUSB_CH_STOP

#define WUSB_CH_STOP   28

Definition at line 119 of file usbprotocoldefs.h.

Typedef Documentation

◆ USBCONFIGATTRIBS

◆ USBCONFIGDESC

◆ USBDESCRIPTORTYPE

◆ USBDEVICEDESC

◆ USBENDPOINTADDRESS

◆ USBENDPOINTATTRIBS

◆ USBENDPOINTDESC

◆ USBHIDOPTIONALDESC

◆ USBHIDSTANDARDDESC

◆ USBHUBCHARACTERISTICS

◆ USBHUBDESC

◆ USBHUBPORTDATA

◆ USBHUBPORTSTATUS

◆ USBHUBPORTSTATUSCHANGE

◆ USBINTERFACEDESC

◆ USBMAXPACKET

typedef union _USBMAXPACKET USBMAXPACKET

◆ USBPHYSICALDESCITEM

◆ USBPHYSICALDESCSET

◆ USBPHYSICALDESCSET0

◆ USBQUALIFIERDESC

◆ USBREQUESTTYPE

◆ USBSETUPREQUEST

◆ USBSTRINGDESC

◆ USBSTRINGLANGIDS

Function Documentation

◆ C_ASSERT() [1/8]

C_ASSERT ( (sizeof(USBENDPOINTADDRESS)==sizeof(BYTE))  )

◆ C_ASSERT() [2/8]

C_ASSERT ( (sizeof(USBENDPOINTATTRIBS)==sizeof(BYTE))  )

◆ C_ASSERT() [3/8]

C_ASSERT ( (sizeof(USBHUBCHARACTERISTICS)==sizeof(WORD))  )

◆ C_ASSERT() [4/8]

C_ASSERT ( (sizeof(USBHUBDESC)==71)  )

◆ C_ASSERT() [5/8]

C_ASSERT ( (sizeof(USBHUBPORTSTATUS)==sizeof(WORD))  )

◆ C_ASSERT() [6/8]

◆ C_ASSERT() [7/8]

C_ASSERT ( (sizeof(USBMAXPACKET)==sizeof(WORD))  )

◆ C_ASSERT() [8/8]

C_ASSERT ( (sizeof(USBREQUESTTYPE)==sizeof(BYTE))  )