ch.ntb.usb
public class Usb_Descriptor extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
USB_DT_CONFIG
Descriptor types.
|
static int |
USB_DT_CONFIG_SIZE
Descriptor sizes per descriptor type.
|
static int |
USB_DT_DEVICE
Descriptor types.
|
static int |
USB_DT_DEVICE_SIZE
Descriptor sizes per descriptor type.
|
static int |
USB_DT_ENDPOINT
Descriptor types.
|
static int |
USB_DT_ENDPOINT_AUDIO_SIZE
Descriptor sizes per descriptor type.
|
static int |
USB_DT_ENDPOINT_SIZE
Descriptor sizes per descriptor type.
|
static int |
USB_DT_HID
Descriptor types.
|
static int |
USB_DT_HUB
Descriptor types.
|
static int |
USB_DT_HUB_NONVAR_SIZE
Descriptor sizes per descriptor type.
|
static int |
USB_DT_INTERFACE
Descriptor types.
|
static int |
USB_DT_INTERFACE_SIZE
Descriptor sizes per descriptor type.
|
static int |
USB_DT_PHYSICAL
Descriptor types.
|
static int |
USB_DT_REPORT
Descriptor types.
|
static int |
USB_DT_STRING
Descriptor types.
|
Constructor and Description |
---|
Usb_Descriptor() |
Modifier and Type | Method and Description |
---|---|
byte |
getBDescriptorType()
Get the type of this descriptor.
|
byte |
getBLength()
Get the size of this descriptor in bytes.
|
public static final int USB_DT_DEVICE
public static final int USB_DT_CONFIG
public static final int USB_DT_STRING
public static final int USB_DT_INTERFACE
public static final int USB_DT_ENDPOINT
public static final int USB_DT_HID
public static final int USB_DT_REPORT
public static final int USB_DT_PHYSICAL
public static final int USB_DT_HUB
public static final int USB_DT_DEVICE_SIZE
public static final int USB_DT_CONFIG_SIZE
public static final int USB_DT_INTERFACE_SIZE
public static final int USB_DT_ENDPOINT_SIZE
public static final int USB_DT_ENDPOINT_AUDIO_SIZE
public static final int USB_DT_HUB_NONVAR_SIZE