USB Device Descriptor.

#include <em_usb.h>

Data Fields

uint8_t bLength
uint8_t bDescriptorType
uint16_t bcdUSB
uint8_t bDeviceClass
uint8_t bDeviceSubClass
uint8_t bDeviceProtocol
uint8_t bMaxPacketSize0
uint16_t idVendor
uint16_t idProduct
uint16_t bcdDevice
uint8_t iManufacturer
uint8_t iProduct
uint8_t iSerialNumber
uint8_t bNumConfigurations

Field Documentation

uint16_t USB_DeviceDescriptor_TypeDef::bcdDevice

Device release number in binary-coded decimal

uint16_t USB_DeviceDescriptor_TypeDef::bcdUSB

USB Specification Release Number in Binary-Coded Decimal

uint8_t USB_DeviceDescriptor_TypeDef::bDescriptorType

Constant DEVICE Descriptor Type

uint8_t USB_DeviceDescriptor_TypeDef::bDeviceClass

Class code (assigned by the USB-IF)

uint8_t USB_DeviceDescriptor_TypeDef::bDeviceProtocol

Protocol code (assigned by the USB-IF)

uint8_t USB_DeviceDescriptor_TypeDef::bDeviceSubClass

Subclass code (assigned by the USB-IF)

uint8_t USB_DeviceDescriptor_TypeDef::bLength

Size of this descriptor in bytes

uint8_t USB_DeviceDescriptor_TypeDef::bMaxPacketSize0

Maximum packet size for endpoint zero

uint8_t USB_DeviceDescriptor_TypeDef::bNumConfigurations

Number of possible configurations

uint16_t USB_DeviceDescriptor_TypeDef::idProduct

Product ID (assigned by the manufacturer)

uint16_t USB_DeviceDescriptor_TypeDef::idVendor

Vendor ID (assigned by the USB-IF)

uint8_t USB_DeviceDescriptor_TypeDef::iManufacturer

Index of string descriptor describing manufacturer

uint8_t USB_DeviceDescriptor_TypeDef::iProduct

Index of string descriptor describing product

uint8_t USB_DeviceDescriptor_TypeDef::iSerialNumber

Index of string descriptor describing the device serialnumber

The documentation for this struct was generated from the following file:
  • em_usb.h