Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
UsbDeviceDescriptor Struct Reference

Device descriptor. More...

#include <baremetal/cascoda-bm-driver/include/cascoda-bm/cascoda_usb.h>

Public Attributes

u8_t bLength
 Length in bytes. More...
 
u8_t bDescriptorType
 USB_DT_DEVICE. More...
 
u8_t bcdUSB [2]
 usb spec release number in bcd More...
 
u8_t bDeviceClass
 Class code (from USB-IF) More...
 
u8_t bDeviceSubClass
 Subclass code (from USB-IF) More...
 
u8_t bDeviceProtocol
 Protocol code ( from USB-IF ) More...
 
u8_t bMaxPacketSize0
 Max size for EP0 as exponent of 2. More...
 
u8_t idVendor [2]
 Vendor id. More...
 
u8_t idProduct [2]
 Product id. More...
 
u8_t bcdDevice [2]
 Device release number in bcd. More...
 
u8_t iManufacturer
 Index of string desc for manufacturer. More...
 
u8_t iProduct
 Index of string desc for product. More...
 
u8_t iSerialNumber
 Index of string desc for serialnumber. More...
 
u8_t bNumConfigurations
 Number of configurations. More...
 

Detailed Description

Device descriptor.

Member Data Documentation

◆ bcdDevice

u8_t UsbDeviceDescriptor::bcdDevice[2]

Device release number in bcd.

◆ bcdUSB

u8_t UsbDeviceDescriptor::bcdUSB[2]

usb spec release number in bcd

◆ bDescriptorType

u8_t UsbDeviceDescriptor::bDescriptorType

USB_DT_DEVICE.

◆ bDeviceClass

u8_t UsbDeviceDescriptor::bDeviceClass

Class code (from USB-IF)

◆ bDeviceProtocol

u8_t UsbDeviceDescriptor::bDeviceProtocol

Protocol code ( from USB-IF )

◆ bDeviceSubClass

u8_t UsbDeviceDescriptor::bDeviceSubClass

Subclass code (from USB-IF)

◆ bLength

u8_t UsbDeviceDescriptor::bLength

Length in bytes.

◆ bMaxPacketSize0

u8_t UsbDeviceDescriptor::bMaxPacketSize0

Max size for EP0 as exponent of 2.

◆ bNumConfigurations

u8_t UsbDeviceDescriptor::bNumConfigurations

Number of configurations.

◆ idProduct

u8_t UsbDeviceDescriptor::idProduct[2]

Product id.

◆ idVendor

u8_t UsbDeviceDescriptor::idVendor[2]

Vendor id.

◆ iManufacturer

u8_t UsbDeviceDescriptor::iManufacturer

Index of string desc for manufacturer.

◆ iProduct

u8_t UsbDeviceDescriptor::iProduct

Index of string desc for product.

◆ iSerialNumber

u8_t UsbDeviceDescriptor::iSerialNumber

Index of string desc for serialnumber.


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