public final class SimpleUsbEndpointDescriptor extends SimpleUsbDescriptor implements javax.usb.UsbEndpointDescriptor
Constructor and Description |
---|
SimpleUsbEndpointDescriptor(byte bLength,
byte bDescriptorType,
byte bEndpointAddress,
byte bmAttributes,
short wMaxPacketSize,
byte bInterval)
Constructor.
|
SimpleUsbEndpointDescriptor(org.usb4java.EndpointDescriptor descriptor)
Construct from a libusb4java endpoint descriptor.
|
Modifier and Type | Method and Description |
---|---|
byte |
bEndpointAddress() |
byte |
bInterval() |
byte |
bmAttributes() |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
short |
wMaxPacketSize() |
bDescriptorType, bLength
public SimpleUsbEndpointDescriptor(byte bLength, byte bDescriptorType, byte bEndpointAddress, byte bmAttributes, short wMaxPacketSize, byte bInterval)
bLength
- The descriptor length.bDescriptorType
- The descriptor type.bEndpointAddress
- The address of the endpoint.bmAttributes
- The endpoint attributes.wMaxPacketSize
- The maximum packet size.bInterval
- The poll interval.public SimpleUsbEndpointDescriptor(org.usb4java.EndpointDescriptor descriptor)
descriptor
- The descriptor from which to copy the data.public byte bEndpointAddress()
bEndpointAddress
in interface javax.usb.UsbEndpointDescriptor
public byte bmAttributes()
bmAttributes
in interface javax.usb.UsbEndpointDescriptor
public short wMaxPacketSize()
wMaxPacketSize
in interface javax.usb.UsbEndpointDescriptor
public byte bInterval()
bInterval
in interface javax.usb.UsbEndpointDescriptor
Copyright © 2011–2018 usb4java Team. All rights reserved.