Standard USB Device Descriptor (USB-IF naming conventions). More...
#include <StdDescriptors.h>
Data Fields | |
| uint16_t | bcdDevice |
| uint16_t | bcdUSB |
| uint8_t | bDescriptorType |
| uint8_t | bDeviceClass |
| uint8_t | bDeviceProtocol |
| uint8_t | bDeviceSubClass |
| uint8_t | bLength |
| uint8_t | bMaxPacketSize0 |
| uint8_t | bNumConfigurations |
| uint16_t | idProduct |
| uint16_t | idVendor |
| uint8_t | iManufacturer |
| uint8_t | iProduct |
| uint8_t | iSerialNumber |
Type define for a standard Device Descriptor. This structure uses the relevant standard's given element names to ensure compatibility with the standard.
| uint16_t USB_StdDescriptor_Device_t::bcdDevice |
Product release (version) number.
| uint16_t USB_StdDescriptor_Device_t::bcdUSB |
BCD of the supported USB specification.
| uint8_t USB_StdDescriptor_Device_t::bDescriptorType |
Type of the descriptor, either a value in USB_DescriptorTypes_t or a value given by the specific class.
| uint8_t USB_StdDescriptor_Device_t::bDeviceClass |
USB device class.
| uint8_t USB_StdDescriptor_Device_t::bDeviceProtocol |
USB device protocol.
| uint8_t USB_StdDescriptor_Device_t::bDeviceSubClass |
USB device subclass.
| uint8_t USB_StdDescriptor_Device_t::bLength |
Size of the descriptor, in bytes.
| uint8_t USB_StdDescriptor_Device_t::bMaxPacketSize0 |
Size of the control (address 0) endpoint's bank in bytes.
| uint8_t USB_StdDescriptor_Device_t::bNumConfigurations |
Total number of configurations supported by the device.
| uint16_t USB_StdDescriptor_Device_t::idProduct |
Unique product ID for the USB product.
| uint16_t USB_StdDescriptor_Device_t::idVendor |
Vendor ID for the USB product.
| uint8_t USB_StdDescriptor_Device_t::iManufacturer |
String index for the manufacturer's name. The host will request this string via a separate control request for the string descriptor.
| uint8_t USB_StdDescriptor_Device_t::iProduct |
String index for the product name/details.
| uint8_t USB_StdDescriptor_Device_t::iSerialNumber |
String index for the product's globally unique hexadecimal serial number, in uppercase Unicode ASCII.
USE_INTERNAL_SERIAL. On unsupported devices, this will evaluate to NO_DESCRIPTOR and will cause the host to generate a pseudo-unique value for the device upon insertion.ManufacturerStrIndex structure entry.