Device descriptor.
Data Fields | |
uint8_t | bLength |
Size of the Descriptor in Bytes. | |
uint8_t | bDescriptorType |
Constant Device Descriptor. | |
uint16_t | bcdUSB |
USB Specification Number to which the device complies. | |
uint8_t | bDeviceClass |
Class Code (Assigned by USB Org): If equal to Zero, each interface specifies its own class code If equal to 0xFF, the class code is vendor specified. More... | |
uint8_t | bDeviceSubClass |
Subclass Code (Assigned by USB Org) | |
uint8_t | bDeviceProtocol |
Protocol Code (Assigned by USB Org) | |
uint8_t | bMaxPacketSize |
Maximum Packet Size for Zero Endpoint. More... | |
uint16_t | idVendor |
Vendor ID (Assigned by USB Org) | |
uint16_t | idProduct |
Product ID (Assigned by Manufacturer) | |
uint16_t | bcdDevice |
Release Number. | |
uint8_t | iManufacturer |
Index of Manufacturer String Descriptor. | |
uint8_t | iProduct |
Index of Product String Descriptor. | |
uint8_t | iSerialNumber |
Index of Serial Number String Descriptor. | |
uint8_t | bNumConfigurations |
Number of Possible Configurations. | |
uint8_t cy_stc_usbdev_device_descr_t::bDeviceClass |
Class Code (Assigned by USB Org): If equal to Zero, each interface specifies its own class code If equal to 0xFF, the class code is vendor specified.
Otherwise, field is valid Class Code.
uint8_t cy_stc_usbdev_device_descr_t::bMaxPacketSize |
Maximum Packet Size for Zero Endpoint.
Valid Sizes are 8, 16, 32, 64