C# Класс MonoLibUsb.Descriptors.MonoUsbEndpointDescriptor

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

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

Свойство Тип Описание
ExtraLength int
bDescriptorType DescriptorType
bEndpointAddress Byte
bInterval Byte
bLength Byte
bRefresh Byte
bSynchAddress Byte
bmAttributes Byte
wMaxPacketSize short

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

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

Length of the extra descriptors, in bytes.
public int ExtraLength
Результат int

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

Descriptor type. Will have value LIBUSB_DT_ENDPOINT in this context.
public DescriptorType bDescriptorType
Результат DescriptorType

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

The address of the endpoint described by this descriptor. Bits 0:3 are the endpoint number. Bits 4:6 are reserved. Bit 7 indicates direction, see \ref libusb_endpoint_direction.
public Byte bEndpointAddress
Результат Byte

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

Interval for polling endpoint for data transfers.
public Byte bInterval
Результат Byte

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

Size of this descriptor (in bytes)
public Byte bLength
Результат Byte

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

For audio devices only: the rate at which synchronization feedback is provided.
public Byte bRefresh
Результат Byte

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

For audio devices only: the address if the synch endpoint
public Byte bSynchAddress
Результат Byte

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

Attributes which apply to the endpoint when it is configured using the bConfigurationValue. Bits 0:1 determine the transfer type and correspond to \ref libusb_transfer_type. Bits 2:3 are only used for isochronous endpoints and correspond to \ref libusb_iso_sync_type. Bits 4:5 are also only used for isochronous endpoints and correspond to \ref libusb_iso_usage_type. Bits 6:7 are reserved.
public Byte bmAttributes
Результат Byte

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

Maximum packet size this endpoint is capable of sending/receiving.
public short wMaxPacketSize
Результат short