C# Class MonoLibUsb.Descriptors.MonoUsbConfigDescriptor

Exibir arquivo Open project: arvydas/BlinkStickDotNet Class Usage Examples

Public Properties

Property Type Description
ExtraLength int
MaxPower byte
bConfigurationValue byte
bDescriptorType DescriptorType
bLength byte
bNumInterfaces byte
bmAttributes byte
iConfiguration byte
wTotalLength short

Public Methods

Method Description
MonoUsbConfigDescriptor ( MonoUsbConfigHandle configHandle ) : System

Create a new MonoUsbConfigDescriptor instance from a MonoUsbConfigHandle.

Private Methods

Method Description
MonoUsbConfigDescriptor ( ) : System

Method Details

MonoUsbConfigDescriptor() public method

Create a new MonoUsbConfigDescriptor instance from a MonoUsbConfigHandle.
public MonoUsbConfigDescriptor ( MonoUsbConfigHandle configHandle ) : System
configHandle MonoLibUsb.Profile.MonoUsbConfigHandle A config handle.
return System

Property Details

ExtraLength public_oe property

Length of the extra descriptors, in bytes.
public int ExtraLength
return int

MaxPower public_oe property

Maximum power consumption of the USB device from this bus in this configuration when the device is fully opreation. Expressed in units of 2 mA.
public byte MaxPower
return byte

bConfigurationValue public_oe property

Identifier value for this configuration
public byte bConfigurationValue
return byte

bDescriptorType public_oe property

Descriptor type. Will have value LIBUSB_DT_CONFIG in this context.
public DescriptorType bDescriptorType
return DescriptorType

bLength public_oe property

Size of this descriptor (in bytes)
public byte bLength
return byte

bNumInterfaces public_oe property

Number of interfaces supported by this configuration
public byte bNumInterfaces
return byte

bmAttributes public_oe property

Configuration characteristics
public byte bmAttributes
return byte

iConfiguration public_oe property

Index of string descriptor describing this configuration
public byte iConfiguration
return byte

wTotalLength public_oe property

Total length of data returned for this configuration
public short wTotalLength
return short