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


Definition at line 406 of file platform/middleware/usb_gecko/inc/em_usb.h

bDescriptorType#

uint8_t USB_DeviceDescriptor_TypeDef::bDescriptorType

Constant DEVICE Descriptor Type


Definition at line 407 of file platform/middleware/usb_gecko/inc/em_usb.h

bcdUSB#

uint16_t USB_DeviceDescriptor_TypeDef::bcdUSB

USB Specification Release Number in Binary-Coded Decimal


Definition at line 408 of file platform/middleware/usb_gecko/inc/em_usb.h

bDeviceClass#

uint8_t USB_DeviceDescriptor_TypeDef::bDeviceClass

Class code (assigned by the USB-IF)


Definition at line 410 of file platform/middleware/usb_gecko/inc/em_usb.h

bDeviceSubClass#

uint8_t USB_DeviceDescriptor_TypeDef::bDeviceSubClass

Subclass code (assigned by the USB-IF)


Definition at line 411 of file platform/middleware/usb_gecko/inc/em_usb.h

bDeviceProtocol#

uint8_t USB_DeviceDescriptor_TypeDef::bDeviceProtocol

Protocol code (assigned by the USB-IF)


Definition at line 412 of file platform/middleware/usb_gecko/inc/em_usb.h

bMaxPacketSize0#

uint8_t USB_DeviceDescriptor_TypeDef::bMaxPacketSize0

Maximum packet size for endpoint zero


Definition at line 413 of file platform/middleware/usb_gecko/inc/em_usb.h

idVendor#

uint16_t USB_DeviceDescriptor_TypeDef::idVendor

Vendor ID (assigned by the USB-IF)


Definition at line 414 of file platform/middleware/usb_gecko/inc/em_usb.h

idProduct#

uint16_t USB_DeviceDescriptor_TypeDef::idProduct

Product ID (assigned by the manufacturer)


Definition at line 415 of file platform/middleware/usb_gecko/inc/em_usb.h

bcdDevice#

uint16_t USB_DeviceDescriptor_TypeDef::bcdDevice

Device release number in binary-coded decimal


Definition at line 416 of file platform/middleware/usb_gecko/inc/em_usb.h

iManufacturer#

uint8_t USB_DeviceDescriptor_TypeDef::iManufacturer

Index of string descriptor describing manufacturer.


Definition at line 417 of file platform/middleware/usb_gecko/inc/em_usb.h

iProduct#

uint8_t USB_DeviceDescriptor_TypeDef::iProduct

Index of string descriptor describing product


Definition at line 418 of file platform/middleware/usb_gecko/inc/em_usb.h

iSerialNumber#

uint8_t USB_DeviceDescriptor_TypeDef::iSerialNumber

Index of string descriptor describing the device serialnumber


Definition at line 419 of file platform/middleware/usb_gecko/inc/em_usb.h

bNumConfigurations#

uint8_t USB_DeviceDescriptor_TypeDef::bNumConfigurations

Number of possible configurations


Definition at line 421 of file platform/middleware/usb_gecko/inc/em_usb.h