usb_standard_device_descriptor_t Struct Reference
[Base USB library]

Standard USB device descriptor. More...

#include <descriptor.h>


Data Fields

uint8_t configuration_count
 Number of possible configurations.
uint8_t descriptor_type
 Descriptor type (USB_DESCTYPE_DEVICE).
uint8_t device_class
 Device class.
uint8_t device_protocol
 Device protocol.
uint8_t device_subclass
 Device sub-class.
uint16_t device_version
 Device release number (in BCD).
uint8_t length
 Size of this descriptor in bytes.
uint8_t max_packet_size
 Maximum packet size for endpoint zero.
uint16_t product_id
 Product ID.
uint8_t str_manufacturer
 Manufacturer descriptor index.
uint8_t str_product
 Product descriptor index.
uint8_t str_serial_number
 Device serial number descriptor index.
uint16_t usb_spec_version
 USB specification release number.
uint16_t vendor_id
 Vendor ID.


Detailed Description

Standard USB device descriptor.

Definition at line 56 of file descriptor.h.


Field Documentation

uint8_t max_packet_size

Maximum packet size for endpoint zero.

Valid values are only 8, 16, 32, 64).

Definition at line 74 of file descriptor.h.

uint16_t usb_spec_version

USB specification release number.

The number shall be coded as binary-coded decimal (BCD).

Definition at line 64 of file descriptor.h.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 2 07:46:01 2011 for HelenOS/USB by  doxygen 1.4.7