Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
cascoda_usb.h File Reference

Internal USB definitions. More...

Include dependency graph for cascoda_usb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  UsbDeviceDescriptor
 Device descriptor. More...
 
struct  UsbBOSDescriptor
 BOS descriptor. More...
 
struct  UsbDeviceCapabilityDescriptor
 Device Capability descriptor. More...
 
struct  UsbConfigurationDescriptor
 Configuration descriptor. More...
 
struct  UsbInterfaceDescriptor
 Interface descriptor. More...
 
struct  UsbEndpointDescriptor
 Endpoint descriptor. More...
 
struct  UsbStringDescriptor
 String descriptor. More...
 

Macros

#define USB_DT_DEVICE   (1)
 
#define USB_DT_CONFIGURATION   (2)
 
#define USB_DT_STRING   (3)
 
#define USB_DT_INTERFACE   (4)
 
#define USB_DT_ENDPOINT   (5)
 
#define USB_DT_BOS   (15)
 
#define USB_DT_DEVICE_CAPABILITY   (16)
 
#define USB_DT_HID   (33)
 
#define USB_DT_HID_RPT   (34)
 
#define USB_DCT_WIRELESS   (1)
 
#define USB_DCT_2_0_EXTENSION   (2)
 
#define USB_ILANGUAGE   (0)
 
#define USB_IMANUFACTURER   (1)
 
#define USB_IPRODUCT   (2)
 
#define USB_ISERIAL   (3)
 
#define USB_ILAST   (3)
 

Typedefs

typedef struct UsbDeviceDescriptor UsbDeviceDescriptor_t
 Device descriptor. More...
 
typedef struct UsbBOSDescriptor UsbBOSDescriptor_t
 BOS descriptor. More...
 
typedef struct UsbDeviceCapabilityDescriptor UsbDeviceCapabilityDescriptor_t
 Device Capability descriptor. More...
 
typedef struct UsbConfigurationDescriptor UsbConfigurationDescriptor_t
 Configuration descriptor. More...
 
typedef struct UsbInterfaceDescriptor UsbInterfaceDescriptor_t
 Interface descriptor. More...
 
typedef struct UsbEndpointDescriptor UsbEndpointDescriptor_t
 Endpoint descriptor. More...
 
typedef struct UsbStringDescriptor UsbStringDescriptor_t
 String descriptor. More...
 

Detailed Description

Internal USB definitions.

Macro Definition Documentation

◆ USB_DCT_2_0_EXTENSION

#define USB_DCT_2_0_EXTENSION   (2)

◆ USB_DCT_WIRELESS

#define USB_DCT_WIRELESS   (1)

◆ USB_DT_BOS

#define USB_DT_BOS   (15)

◆ USB_DT_CONFIGURATION

#define USB_DT_CONFIGURATION   (2)

◆ USB_DT_DEVICE

#define USB_DT_DEVICE   (1)

◆ USB_DT_DEVICE_CAPABILITY

#define USB_DT_DEVICE_CAPABILITY   (16)

◆ USB_DT_ENDPOINT

#define USB_DT_ENDPOINT   (5)

◆ USB_DT_HID

#define USB_DT_HID   (33)

◆ USB_DT_HID_RPT

#define USB_DT_HID_RPT   (34)

◆ USB_DT_INTERFACE

#define USB_DT_INTERFACE   (4)

◆ USB_DT_STRING

#define USB_DT_STRING   (3)

◆ USB_ILANGUAGE

#define USB_ILANGUAGE   (0)

◆ USB_ILAST

#define USB_ILAST   (3)

◆ USB_IMANUFACTURER

#define USB_IMANUFACTURER   (1)

◆ USB_IPRODUCT

#define USB_IPRODUCT   (2)

◆ USB_ISERIAL

#define USB_ISERIAL   (3)

Typedef Documentation

◆ UsbBOSDescriptor_t

BOS descriptor.

Binary device Object Store is a root framework for storing other related descriptors

◆ UsbConfigurationDescriptor_t

Configuration descriptor.

◆ UsbDeviceCapabilityDescriptor_t

Device Capability descriptor.

◆ UsbDeviceDescriptor_t

Device descriptor.

◆ UsbEndpointDescriptor_t

Endpoint descriptor.

◆ UsbInterfaceDescriptor_t

Interface descriptor.

◆ UsbStringDescriptor_t

String descriptor.