#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. |
Definition at line 56 of file descriptor.h.
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.