USB_DeviceDescriptor_TypeDef Struct Reference
USB Device Descriptor.
#include <em_usb.h>
Data Fields |
|
uint8_t | bLength |
Size of this descriptor in bytes
|
|
uint8_t | bDescriptorType |
Constant DEVICE Descriptor Type
|
|
uint16_t | bcdUSB |
USB Specification Release Number in Binary-Coded Decimal
|
|
uint8_t | bDeviceClass |
Class code (assigned by the USB-IF)
|
|
uint8_t | bDeviceSubClass |
Subclass code (assigned by the USB-IF)
|
|
uint8_t | bDeviceProtocol |
Protocol code (assigned by the USB-IF)
|
|
uint8_t | bMaxPacketSize0 |
Maximum packet size for endpoint zero
|
|
uint16_t | idVendor |
Vendor ID (assigned by the USB-IF)
|
|
uint16_t | idProduct |
Product ID (assigned by the manufacturer)
|
|
uint16_t | bcdDevice |
Device release number in binary-coded decimal
|
|
uint8_t | iManufacturer |
Index of string descriptor describing manufacturer.
|
|
uint8_t | iProduct |
Index of string descriptor describing product
|
|
uint8_t | iSerialNumber |
Index of string descriptor describing the device serialnumber
|
|
uint8_t | bNumConfigurations |
Number of possible configurations
|
|
USB Device Descriptor.
Field 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