public class UsbInterfaceDescriptor extends UsbDescriptor
| Constructor and Description |
|---|
UsbInterfaceDescriptor(byte bLength,
byte bDescriptorType,
byte bInterfaceNumber,
byte bAlternateSetting,
byte bNumEndpoints,
byte bInterfaceClass,
byte bInterfaceSubClass,
byte bInterfaceProtocol,
byte iInterface)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
bAlternateSetting()
Gets the alternate setting.
|
int |
bInterfaceClass()
Gets the interface class.
|
int |
bInterfaceNumber()
Gets the interface number.
|
int |
bInterfaceProtocol()
Gets the interface protocol.
|
int |
bInterfaceSubClass()
Gets the interface subclass.
|
int |
bNumEndpoints()
Gets the number of endpoints.
|
int |
iInterface()
Gets the interface string descriptor index.
|
bDescriptorType, bLengthpublic UsbInterfaceDescriptor(byte bLength,
byte bDescriptorType,
byte bInterfaceNumber,
byte bAlternateSetting,
byte bNumEndpoints,
byte bInterfaceClass,
byte bInterfaceSubClass,
byte bInterfaceProtocol,
byte iInterface)
bLength - Descriptor lengthbDescriptorType - Descriptor typebInterfaceNumber - Interface numberbAlternateSetting - Alternate settingbNumEndpoints - Number of endpointsbInterfaceClass - Interface classbInterfaceSubClass - Interface subclassbInterfaceProtocol - Interface protocoliInterface - Interface string indexpublic int bInterfaceNumber()
public int bAlternateSetting()
public int bNumEndpoints()
public int bInterfaceClass()
public int bInterfaceSubClass()
public int bInterfaceProtocol()
public int iInterface()
Copyright © 2017 LSST. All rights reserved.