Skip to main content

UsbInterface Class

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

A USB interface descriptor.

public class UsbInterface

Constructors

UsbInterface(byte InterfaceNumber, Endpoint[] Endpoints)

public UsbInterface(byte InterfaceNumber, Endpoint[] Endpoints)

Creates a new interface descriptor.

Fields

bInterfaceNumber

public byte bInterfaceNumber

The interface number.

endpoints

public Endpoint[] endpoints

The endpoints belonging to this interface.

classDescriptors

public ClassDescriptor[] classDescriptors

The class-specific descriptors for this interface.

bInterfaceClass

public byte bInterfaceClass

The interface class code.

bInterfaceSubClass

public byte bInterfaceSubClass

The interface subclass code.

bInterfaceProtocol

public byte bInterfaceProtocol

The interface protocol code.

iInterface

public byte iInterface

The string index of the interface.