javax.usb
Interface UsbConfigurationDescriptor

All Superinterfaces:
UsbDescriptor

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

public short wTotalLength()
Get this descriptor's wTotalLength.

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

bNumInterfaces

public byte bNumInterfaces()
Get this descriptor's bNumInterfaces.

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

bConfigurationValue

public byte bConfigurationValue()
Get this descriptor's bConfigurationValue.

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

iConfiguration

public byte iConfiguration()
Get this descriptor's iConfiguration.

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

bmAttributes

public byte bmAttributes()
Get this descriptor's bmAttributes.

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

bMaxPower

public byte bMaxPower()
Get this descriptor's bMaxPower.

This is specified in units of 2mA.

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


Copyright © 2009 Eurotech Inc. All rights reserved.