C# Class LibUsbDotNet.Descriptors.UsbEndpointDescriptor

Inheritance: UsbDescriptor
Mostra file Open project: arvydas/BlinkStickDotNet Class Usage Examples

Public Properties

Property Type Description
Attributes byte
EndpointID byte
Interval byte
MaxPacketSize short
Refresh byte
Size int
SynchAddress byte

Public Methods

Method 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

Method Description
UsbEndpointDescriptor ( ) : System
UsbEndpointDescriptor ( MonoUsbEndpointDescriptor descriptor ) : System

Method Details

ToString() public method

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

ToString() public method

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.
return 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
return 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
return 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
return byte

MaxPacketSize public_oe property

Maximum Packet Size this endpoint is capable of sending or receiving
public short MaxPacketSize
return short

Refresh public_oe property

Audio endpoint specific.
public byte Refresh
return byte

Size public_oe static_oe property

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

SynchAddress public_oe property

Audio endpoint specific.
public byte SynchAddress
return byte