Skip to main content

Endpoint Class

NuGet: GHIElectronics.TinyCLR.Devices.UsbClient
Assembly: GHIElectronics.TinyCLR.Devices.UsbClient
Namespace: GHIElectronics.TinyCLR.Devices.UsbClient

A USB endpoint descriptor.

public class Endpoint

Constructors​

Endpoint(byte EndpointAddress, byte Attributes)​

public Endpoint(byte EndpointAddress, byte Attributes)

Creates a new endpoint descriptor.

Fields​

ATTRIB_Read​

public const byte ATTRIB_Read

Attribute marking the endpoint as a read endpoint.

ATTRIB_Write​

public const byte ATTRIB_Write

Attribute marking the endpoint as a write endpoint.

ATTRIB_Isochronous​

public const byte ATTRIB_Isochronous

Attribute for an isochronous transfer type.

ATTRIB_Bulk​

public const byte ATTRIB_Bulk

Attribute for a bulk transfer type.

ATTRIB_Interrupt​

public const byte ATTRIB_Interrupt

Attribute for an interrupt transfer type.

ATTRIB_NoSynch​

public const byte ATTRIB_NoSynch

Attribute for no synchronization.

ATTRIB_Asynch​

public const byte ATTRIB_Asynch

Attribute for asynchronous synchronization.

ATTRIB_Adaptive​

public const byte ATTRIB_Adaptive

Attribute for adaptive synchronization.

ATTRIB_Synchronous​

public const byte ATTRIB_Synchronous

Attribute for synchronous synchronization.

ATTRIB_Data​

public const byte ATTRIB_Data

Attribute for a data usage type.

ATTRIB_Feedback​

public const byte ATTRIB_Feedback

Attribute for a feedback usage type.

ATTRIB_Implicit​

public const byte ATTRIB_Implicit

Attribute for an implicit feedback data usage type.

bEndpointAddress​

public byte bEndpointAddress

The address of the endpoint.

bmAttributes​

public byte bmAttributes

The endpoint attributes.

wMaxPacketSize​

public ushort wMaxPacketSize

The maximum packet size for the endpoint.

bInterval​

public byte bInterval

The polling interval for the endpoint.