USB_Descriptor_Device_t Struct Reference

#include <StdDescriptors.h>


Data Fields

USB_Descriptor_Header_t Header
uint16_t USBSpecification
uint8_t Class
uint8_t SubClass
uint8_t Protocol
uint8_t Endpoint0Size
uint16_t VendorID
uint16_t ProductID
uint16_t ReleaseNumber
uint8_t ManufacturerStrIndex
uint8_t ProductStrIndex
uint8_t SerialNumStrIndex
uint8_t NumberOfConfigurations


Detailed Description

Type define for a standard device descriptor.

Note:
The non-standard structure element names are documented here - see the StdDescriptors.h file documentation for more information on the two descriptor naming schemes. If the USE_NONSTANDARD_DESCRIPTOR_NAMES token is not set, this structure contains elements with names identical to those listed in the USB standard.

Field Documentation

Descriptor header, including type and size.

BCD of the supported USB specification.

USB device class.

USB device subclass.

USB device protocol.

Size of the control (address 0) endpoint's bank in bytes.

Vendor ID for the USB product.

Unique product ID for the USB product.

Product release (version) number.

String index for the manufacturer's name. The host will request this string via a seperate control request for the string descriptor.

Note:
If no string supplied, use NO_DESCRIPTOR_STRING.

String index for the product name/details.

See also:
ManufacturerStrIndex structure entry.

String index for the product's globally unique hexadecimal serial number, in uppercase Unicoded ASCII.

See also:
ManufacturerStrIndex structure entry.

Total number of configurations supported by the device.


The documentation for this struct was generated from the following file:

Generated on Thu Jul 31 09:24:16 2008 for MyUSB Library by  doxygen 1.5.5