public class UsbConfigurationDescriptor extends UsbDescriptor
| Constructor and Description |
|---|
UsbConfigurationDescriptor(byte bLength,
byte bDescriptorType,
short wTotalLength,
byte bNumInterfaces,
byte bConfigurationValue,
byte iConfiguration,
byte bmAttributes,
byte bMaxPower)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
bConfigurationValue()
Gets the configuration value.
|
int |
bmAttributes()
Gets the attributes.
|
int |
bMaxPower()
Gets the maximum power.
|
int |
bNumInterfaces()
Gets the number of interfaces.
|
int |
iConfiguration()
Gets the configuration index.
|
int |
wTotalLength()
Gets the total length.
|
bDescriptorType, bLengthpublic UsbConfigurationDescriptor(byte bLength,
byte bDescriptorType,
short wTotalLength,
byte bNumInterfaces,
byte bConfigurationValue,
byte iConfiguration,
byte bmAttributes,
byte bMaxPower)
bLength - Descriptor lengthbDescriptorType - Descriptor typewTotalLength - Total lengthbNumInterfaces - Number of interfacesbConfigurationValue - Configuration valueiConfiguration - Configuration string indexbmAttributes - AttributesbMaxPower - Maximum powerpublic int wTotalLength()
public int bNumInterfaces()
public int bConfigurationValue()
public int iConfiguration()
public int bmAttributes()
public int bMaxPower()
Copyright © 2023 LSST. All rights reserved.