javax.usb
Interface UsbConfigurationDescriptor

All Superinterfaces:
UsbDescriptor
All Known Implementing Classes:
UsbConfigurationDescriptorImp

public interface UsbConfigurationDescriptor
extends UsbDescriptor

Interface for a USB configuration descriptor.

See the USB 1.1 specification section 9.6.2.

Author:
Dan Streetman

Method Summary
 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.
 short wTotalLength()
          Get this descriptor's wTotalLength.
 
Methods inherited from interface javax.usb.UsbDescriptor
bDescriptorType, bLength
 

Method Detail

wTotalLength

short wTotalLength()
Get this descriptor's wTotalLength.

Returns:
This descriptor's wTotalLength.
See Also:
This is unsigned.

bNumInterfaces

byte bNumInterfaces()
Get this descriptor's bNumInterfaces.

Returns:
This descriptor's bNumInterfaces.
See Also:
This is unsigned.

bConfigurationValue

byte bConfigurationValue()
Get this descriptor's bConfigurationValue.

Returns:
This descriptor's bConfigurationValue.
See Also:
This is unsigned.

iConfiguration

byte iConfiguration()
Get this descriptor's iConfiguration.

Returns:
This descriptor's iConfiguration.
See Also:
This is unsigned.

bmAttributes

byte bmAttributes()
Get this descriptor's bmAttributes.

Returns:
This descriptor's bmAttributes.
See Also:
This is unsigned.

bMaxPower

byte bMaxPower()
Get this descriptor's bMaxPower.

This is specified in units of 2mA.

Returns:
This descriptor's bMaxPower.
See Also:
This is unsigned.