USB Device Descriptor.
Public Attributes#
Size of this descriptor in bytes
Constant DEVICE Descriptor Type
USB Specification Release Number in Binary-Coded Decimal
Class code (assigned by the USB-IF)
Subclass code (assigned by the USB-IF)
Protocol code (assigned by the USB-IF)
Maximum packet size for endpoint zero
Vendor ID (assigned by the USB-IF)
Product ID (assigned by the manufacturer)
Device release number in binary-coded decimal
Index of string descriptor describing manufacturer.
Index of string descriptor describing product
Index of string descriptor describing the device serialnumber
Number of possible configurations
Public Attribute Documentation#
bDescriptorType#
uint8_t USB_DeviceDescriptor_TypeDef::bDescriptorType
Constant DEVICE Descriptor Type
bcdUSB#
uint16_t USB_DeviceDescriptor_TypeDef::bcdUSB
USB Specification Release Number in Binary-Coded Decimal
bDeviceSubClass#
uint8_t USB_DeviceDescriptor_TypeDef::bDeviceSubClass
Subclass code (assigned by the USB-IF)
bDeviceProtocol#
uint8_t USB_DeviceDescriptor_TypeDef::bDeviceProtocol
Protocol code (assigned by the USB-IF)
bMaxPacketSize0#
uint8_t USB_DeviceDescriptor_TypeDef::bMaxPacketSize0
Maximum packet size for endpoint zero
bcdDevice#
uint16_t USB_DeviceDescriptor_TypeDef::bcdDevice
Device release number in binary-coded decimal
iManufacturer#
uint8_t USB_DeviceDescriptor_TypeDef::iManufacturer
Index of string descriptor describing manufacturer.
iProduct#
uint8_t USB_DeviceDescriptor_TypeDef::iProduct
Index of string descriptor describing product
iSerialNumber#
uint8_t USB_DeviceDescriptor_TypeDef::iSerialNumber
Index of string descriptor describing the device serialnumber
bNumConfigurations#
uint8_t USB_DeviceDescriptor_TypeDef::bNumConfigurations
Number of possible configurations