C# 클래스 LibUsbDotNet.Descriptors.UsbConfigDescriptor

상속: UsbDescriptor
파일 보기 프로젝트 열기: arvydas/BlinkStickDotNet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Attributes byte
ConfigID byte
InterfaceCount byte
MaxPower byte
Size int
StringIndex byte
TotalLength short

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
UsbConfigDescriptor ( ) : System
UsbConfigDescriptor ( MonoUsbConfigDescriptor descriptor ) : System

메소드 상세

ToString() 공개 메소드

Returns a T:System.String that represents the current UsbConfigDescriptor.
public ToString ( ) : string
리턴 string

ToString() 공개 메소드

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.
리턴 string

프로퍼티 상세

Attributes 공개적으로 프로퍼티

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
리턴 byte

ConfigID 공개적으로 프로퍼티

Value to use as an argument to select this Configuration
public byte ConfigID
리턴 byte

InterfaceCount 공개적으로 프로퍼티

Number of Interfaces
public byte InterfaceCount
리턴 byte

MaxPower 공개적으로 프로퍼티

Maximum Power Consumption in 2mA units
public byte MaxPower
리턴 byte

Size 공개적으로 정적으로 프로퍼티

Total size of this structure in bytes.
public static int Size
리턴 int

StringIndex 공개적으로 프로퍼티

Index of String Descriptor describing this Configuration
public byte StringIndex
리턴 byte

TotalLength 공개적으로 프로퍼티

Total length in bytes of data returned
public short TotalLength
리턴 short