C# Class LibUsbDotNet.Descriptors.UsbEndpointDescriptor

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

Méthodes publiques

Свойство Type Description
Attributes byte
EndpointID byte
Interval byte
MaxPacketSize short
Refresh byte
Size int
SynchAddress byte

Méthodes publiques

Méthode Description
ToString ( ) : string

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

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

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

Private Methods

Méthode Description
UsbEndpointDescriptor ( ) : System
UsbEndpointDescriptor ( MonoUsbEndpointDescriptor descriptor ) : System

Method Details

ToString() public méthode

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

ToString() public méthode

Returns a T:System.String that represents the current UsbEndpointDescriptor.
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

Bits 0..1 Transfer Type 00 = Control 01 = Isochronous 10 = Bulk 11 = Interrupt Bits 2..7 are reserved. If Isochronous endpoint, Bits 3..2 = Synchronisation Type (Iso Mode) 00 = No Synchonisation 01 = Asynchronous 10 = Adaptive 11 = Synchronous Bits 5..4 = Usage Type (Iso Mode) 00 = Data Endpoint 01 = Feedback Endpoint 10 = Explicit Feedback Data Endpoint 11 = Reserved
public byte Attributes
Résultat byte

EndpointID public_oe property

Endpoint Address Bits 0..3b Endpoint Number. Bits 4..6b Reserved. Set to Zero Bits 7 Direction 0 = Out, 1 = In (Ignored for Control Endpoints)
public byte EndpointID
Résultat byte

Interval public_oe property

Interval for polling endpoint data transfers. Value in frame counts. Ignored for Bulk and Control Endpoints. Isochronous must equal 1 and field may range from 1 to 255 for interrupt endpoints.
public byte Interval
Résultat byte

MaxPacketSize public_oe property

Maximum Packet Size this endpoint is capable of sending or receiving
public short MaxPacketSize
Résultat short

Refresh public_oe property

Audio endpoint specific.
public byte Refresh
Résultat byte

Size public_oe static_oe property

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

SynchAddress public_oe property

Audio endpoint specific.
public byte SynchAddress
Résultat byte