#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 |
Descriptor header, including type and size.
BCD of the supported USB specification.
| uint8_t USB_Descriptor_Device_t::Class |
USB device class.
USB device subclass.
USB device protocol.
Size of the control (address 0) endpoint's bank in bytes.
| uint16_t USB_Descriptor_Device_t::VendorID |
Vendor ID for the USB product.
| uint16_t USB_Descriptor_Device_t::ProductID |
Unique product ID for the USB product.
Product release (version) number.
String index for the manufacturer's name. The host will request this string via a seperate control request for the string descriptor.
String index for the product's globally unique hexadecimal serial number, in uppercase Unicoded ASCII.
Total number of configurations supported by the device.
1.5.5