USB device descriptor (USB 2.0 spec table 9-8) More...
USB device descriptor (USB 2.0 spec table 9-8)
Definition at line 124 of file descriptor.h.
#include <descriptor.h>
Data Fields | |
| uint8_t | length |
| Size of this descriptor. | |
| uint8_t | type |
| Descriptor type (USB_TYPE_DESCRIPTOR_DEVICE) | |
| uint16_t | bcd_usb |
| Binary-coded decimal USB release specification | |
| uint8_t | class |
| Device class code | |
| uint8_t | subclass |
| Device subclass code | |
| uint8_t | protocol |
| Device protocol code | |
| uint8_t | max_packet_size |
| EP0 max packet size (8, 16, 32 or 64 bytes) | |
| uint16_t | vendor_id |
| Vendor ID (as assigned by the USB-IF) | |
| uint16_t | product_id |
| Product ID | |
| uint16_t | bcd_device |
| Binary-coded decimal device release | |
| uint8_t | manufacturer_idx |
| Manufacturer string index number | |
| uint8_t | product_idx |
| Product string index number | |
| uint8_t | serial_idx |
| Device serial number string index number | |
| uint8_t | num_configurations |
| Number of possible configurations | |