BaseDescriptor Class
Namespace: GHIElectronics.TinyCLR.Devices.UsbHost.Descriptors · Assembly: GHIElectronics.TinyCLR.Devices.UsbHost
The base USB descriptor.
public class BaseDescriptor
Constructors
BaseDescriptor(DescriptorType type, byte length)
protected BaseDescriptor(DescriptorType type, byte length)
Creates a new base descriptor
| Parameter | Type | Description |
|---|---|---|
type | DescriptorType | The type of the derived descriptor |
length | byte | The length of the descriptor. |
Properties
Length
public byte Length { get; set; }
Length of descriptor in bytes.
Type
public DescriptorType Type { get; set; }
The type of the descriptor.