C# Class LibUsbDotNet.Descriptors.UsbConfigDescriptor

Inheritance: UsbDescriptor
Afficher le fichier Open project: arvydas/BlinkStickDotNet Class Usage Examples

Méthodes publiques

Свойство Type Description
Attributes byte
ConfigID byte
InterfaceCount byte
MaxPower byte
Size int
StringIndex byte
TotalLength short

Méthodes publiques

Méthode Description
ToString ( ) : string

Returns a T:System.String that represents the current UsbConfigDescriptor.

ToString ( string prefixSeperator, string entitySperator, string suffixSeperator ) : string

Returns a T:System.String that represents the current UsbConfigDescriptor.

Private Methods

Méthode Description
UsbConfigDescriptor ( ) : System
UsbConfigDescriptor ( MonoUsbConfigDescriptor descriptor ) : System

Method Details

ToString() public méthode

Returns a T:System.String that represents the current UsbConfigDescriptor.
public ToString ( ) : string
Résultat string

ToString() public méthode

Returns a T:System.String that represents the current UsbConfigDescriptor.
public ToString ( string prefixSeperator, string entitySperator, string suffixSeperator ) : string
prefixSeperator string The field prefix string.
entitySperator string The field/value seperator string.
suffixSeperator string The value suffix string.
Résultat string

Property Details

Attributes public_oe property

D7 Reserved, set to 1. (USB 1.0 Bus Powered) D6 Self Powered D5 Remote Wakeup D4..0 Reserved, set to 0.
public byte Attributes
Résultat byte

ConfigID public_oe property

Value to use as an argument to select this Configuration
public byte ConfigID
Résultat byte

InterfaceCount public_oe property

Number of Interfaces
public byte InterfaceCount
Résultat byte

MaxPower public_oe property

Maximum Power Consumption in 2mA units
public byte MaxPower
Résultat byte

Size public_oe static_oe property

Total size of this structure in bytes.
public static int Size
Résultat int

StringIndex public_oe property

Index of String Descriptor describing this Configuration
public byte StringIndex
Résultat byte

TotalLength public_oe property

Total length in bytes of data returned
public short TotalLength
Résultat short