Public Types

mxusb::Descriptor Class Reference

#include <usb.h>

List of all members.

Public Types

enum  DescType {
  DEVICE = 1, CONFIGURATION = 2, STRING = 3, INTERFACE = 4,
  ENDPOINT = 5, DEVICE_QUALIFIER = 6, OTHER_SPEED_CONFIGURATION = 7, INTERFACE_POWER = 8
}
enum  DescSize { DEVICE_DESC_SIZE = 18, CONFIGURATION_DESC_SIZE = 9, INTERFACE_DESC_SIZE = 9, ENDPOINT_DESC_SIZE = 7 }
enum  Type { , CONTROL = 0, ISOCHRONOUS = 1, BULK = 2, INTERRUPT = 3 }

Detailed Description

Wrapper class for Descriptor constants


Member Enumeration Documentation

Size for the standard descriptors that are fixed size. There is no constant for string descriptors because they are variable sized.

Enumerator:
DEVICE_DESC_SIZE 

Size of device descriptor.

CONFIGURATION_DESC_SIZE 

Size of configuration descriptor.

INTERFACE_DESC_SIZE 

Size of interface descriptor.

ENDPOINT_DESC_SIZE 

Size of endpoint descriptor.

Standard descriptor types

Enumerator:
DEVICE 

Device descriptor.

CONFIGURATION 

Configuration descriptor.

STRING 

String descriptor.

INTERFACE 

Interface descriptor.

ENDPOINT 

Endpoint descriptor.

DEVICE_QUALIFIER 

Device qualifier.

OTHER_SPEED_CONFIGURATION 

Other speed configuration.

INTERFACE_POWER 

Interface power.

Describes the endpoint type as for the bmAttributes field of ENDPOINT descriptors.

Enumerator:
CONTROL 

Control endpoint.

ISOCHRONOUS 

Isochronous endpoint.

BULK 

Bulk endpoint.

INTERRUPT 

Interrupt endpoint.


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