C# Класс LibUsbDotNet.Descriptors.UsbEndpointDescriptor

Наследование: UsbDescriptor
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Attributes byte
EndpointID byte
Interval byte
MaxPacketSize short
Refresh byte
Size int
SynchAddress byte

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
UsbEndpointDescriptor ( ) : System
UsbEndpointDescriptor ( MonoUsbEndpointDescriptor descriptor ) : System

Описание методов

ToString() публичный Метод

Returns a T:System.String that represents the current UsbEndpointDescriptor.
public ToString ( ) : string
Результат string

ToString() публичный Метод

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.
Результат string

Описание свойств

Attributes публичное свойство

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
Результат byte

EndpointID публичное свойство

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
Результат byte

Interval публичное свойство

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
Результат byte

MaxPacketSize публичное свойство

Maximum Packet Size this endpoint is capable of sending or receiving
public short MaxPacketSize
Результат short

Refresh публичное свойство

Audio endpoint specific.
public byte Refresh
Результат byte

Size публичное статическое свойство

Total size of this structure in bytes.
public static int Size
Результат int

SynchAddress публичное свойство

Audio endpoint specific.
public byte SynchAddress
Результат byte