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

USB device class.

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

Descriptor header, including type and size.

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.

Total number of configurations supported by the device.

Unique product ID for the USB product.

String index for the product name/details.

See also:
ManufacturerStrIndex structure entry.

USB device protocol.

Product release (version) number.

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

See also:
ManufacturerStrIndex structure entry.

USB device subclass.

BCD of the supported USB specification.

Vendor ID for the USB product.


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

Generated on Wed Apr 1 16:39:52 2009 for LUFA Library by  doxygen 1.5.7.1