Wixel SDK
Data Fields

#include <usb.h>

Data Fields

uint8 bLength
uint8 bDescriptorType
uint16 bcdUSB
uint8 bDeviceClass
uint8 bDeviceSubClass
uint8 bDeviceProtocol
uint8 bMaxPacketSize0
uint16 idVendor
uint16 idProduct
uint16 bcdDevice
uint8 iManufacturer
uint8 iProduct
uint8 iSerialNumber
uint8 bNumConfigurations

Detailed Description

Standard Device Descriptor from USB Spec Table 9-8.

Definition at line 139 of file usb.h.

Field Documentation

uint16 bcdDevice

Device release number (BCD).

Definition at line 150 of file usb.h.

uint16 bcdUSB

USB Spec Release Number (BCD).

Definition at line 143 of file usb.h.

uint8 bDescriptorType


Definition at line 142 of file usb.h.

uint8 bDeviceClass

Class code (assigned by the USB-IF). 0xFF-Vendor specific.

Definition at line 144 of file usb.h.

uint8 bDeviceProtocol

Protocol code (assigned by the USB-IF). 0xFF-Vendor specific.

Definition at line 146 of file usb.h.

uint8 bDeviceSubClass

Subclass code (assigned by the USB-IF).

Definition at line 145 of file usb.h.

uint8 bLength


Definition at line 141 of file usb.h.

uint8 bMaxPacketSize0

Maximum packet size for endpoint 0.

Definition at line 147 of file usb.h.

uint8 bNumConfigurations

Number of possible configurations.

Definition at line 154 of file usb.h.

uint16 idProduct

Product ID (assigned by the manufacturer).

Definition at line 149 of file usb.h.

uint16 idVendor

Vendor ID (assigned by the USB-IF), use USB_VENDOR_ID_POLOLU

Definition at line 148 of file usb.h.

uint8 iManufacturer

Index of String Descriptor describing the manufacturer.

Definition at line 151 of file usb.h.

uint8 iProduct

Index of String Descriptor describing the product.

Definition at line 152 of file usb.h.

uint8 iSerialNumber

Index of String Descriptor with the device's serial number.

Definition at line 153 of file usb.h.

The documentation for this struct was generated from the following file: