public class UsbEndpointDescriptor extends UsbDescriptor
| Constructor and Description |
|---|
UsbEndpointDescriptor(byte bLength,
byte bDescriptorType,
byte bEndpointAddress,
byte bmAttributes,
byte bInterval,
short wMaxPacketSize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
bEndpointAddress()
Gets the endpoint address.
|
int |
bInterval()
Gets the polling interval.
|
int |
bmAttributes()
Gets the attributes.
|
int |
wMaxPacketSize()
Gets the maximum packet size.
|
bDescriptorType, bLengthpublic UsbEndpointDescriptor(byte bLength,
byte bDescriptorType,
byte bEndpointAddress,
byte bmAttributes,
byte bInterval,
short wMaxPacketSize)
bLength - Descriptor lengthbDescriptorType - Descriptor typebEndpointAddress - Endpoint addressbmAttributes - Mask of attributesbInterval - Polling intervalwMaxPacketSize - Maximum packet sizepublic int bEndpointAddress()
public int bmAttributes()
public int wMaxPacketSize()
public int bInterval()
Copyright © 2017 LSST. All rights reserved.