javax.usb
Interface UsbEndpointDescriptor

All Superinterfaces:
UsbDescriptor

public interface UsbEndpointDescriptor
extends UsbDescriptor

Interface for a USB endpoint descriptor.

See the USB 1.1 specification section 9.6.4.

Author:
Dan Streetman

Method Summary
 byte bEndpointAddress()
          Get this descriptor's bEndpointAddress.
 byte bInterval()
          Get this descriptor's bInterval.
 byte bmAttributes()
          Get this descriptor's bmAttributes.
 short wMaxPacketSize()
          Get this descriptor's wMaxPacketSize.
 
Methods inherited from interface javax.usb.UsbDescriptor
bDescriptorType, bLength
 

Method Detail

bEndpointAddress

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

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

bmAttributes

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

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

wMaxPacketSize

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

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

bInterval

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

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