public class UsbConfigurationDescriptorImp extends UsbDescriptorImp implements UsbConfigurationDescriptor
| Constructor and Description |
|---|
UsbConfigurationDescriptorImp(byte bLength,
byte bType,
short wTotalLength,
byte bNumInterfaces,
byte bConfigurationValue,
byte iConfiguration,
byte bmAttributes,
byte bMaxPower)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
bConfigurationValue()
Get this descriptor's bConfigurationValue.
|
byte |
bmAttributes()
Get this descriptor's bmAttributes.
|
byte |
bMaxPower()
Get this descriptor's bMaxPower.
|
byte |
bNumInterfaces()
Get this descriptor's bNumInterfaces.
|
byte |
iConfiguration()
Get this descriptor's iConfiguration.
|
String |
toString()
Get a String representing this.
|
short |
wTotalLength()
Get this descriptor's wTotalLength.
|
bDescriptorType, bLength, equals, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitbDescriptorType, bLengthpublic UsbConfigurationDescriptorImp(byte bLength,
byte bType,
short wTotalLength,
byte bNumInterfaces,
byte bConfigurationValue,
byte iConfiguration,
byte bmAttributes,
byte bMaxPower)
bLength - Descriptor length.bType - Descriptor type.wTotalLength - Descriptor Total Length.bNumInterfaces - Number of interfaces.bConfigurationValue - The ConfigValue.iConfiguration - The ConfigIndex.bmAttributes - The attributes.bMaxPower - The max power.public short wTotalLength()
wTotalLength in interface UsbConfigurationDescriptorThis is unsigned.public byte bNumInterfaces()
bNumInterfaces in interface UsbConfigurationDescriptorThis is unsigned.public byte bConfigurationValue()
bConfigurationValue in interface UsbConfigurationDescriptorThis is unsigned.public byte iConfiguration()
iConfiguration in interface UsbConfigurationDescriptorThis is unsigned.public byte bmAttributes()
bmAttributes in interface UsbConfigurationDescriptorThis is unsigned.public byte bMaxPower()
bMaxPower in interface UsbConfigurationDescriptorThis is unsigned.public String toString()
toString in class UsbDescriptorImpCopyright © 2014 LSST. All Rights Reserved.