USB Device Descriptor.

Public Attributes#

uint8_t

Size of this descriptor in bytes

uint8_t

Constant DEVICE Descriptor Type

uint16_t

USB Specification Release Number in Binary-Coded Decimal

uint8_t

Class code (assigned by the USB-IF)

uint8_t

Subclass code (assigned by the USB-IF)

uint8_t

Protocol code (assigned by the USB-IF)

uint8_t

Maximum packet size for endpoint zero

uint16_t

Vendor ID (assigned by the USB-IF)

uint16_t

Product ID (assigned by the manufacturer)

uint16_t

Device release number in binary-coded decimal

uint8_t

Index of string descriptor describing manufacturer.

uint8_t

Index of string descriptor describing product

uint8_t

Index of string descriptor describing the device serialnumber

uint8_t

Number of possible configurations

Public Attribute Documentation#

bLength#

uint8_t USB_DeviceDescriptor_TypeDef::bLength

Size of this descriptor in bytes


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


bDeviceClass#

uint8_t USB_DeviceDescriptor_TypeDef::bDeviceClass

Class code (assigned by the USB-IF)


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


idVendor#

uint16_t USB_DeviceDescriptor_TypeDef::idVendor

Vendor ID (assigned by the USB-IF)


idProduct#

uint16_t USB_DeviceDescriptor_TypeDef::idProduct

Product ID (assigned by the manufacturer)


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