Endpoint Class
Package: GHIElectronics.Endpoint.Devices.UsbHost
Namespace: GHIElectronics.Endpoint.Devices.UsbHost.Descriptors
Endpoint descriptor.
public class Endpoint : BaseDescriptor
Constructors
Endpoint(byte[] buffer)
public Endpoint(byte[] buffer)
Constructs a new descriptor.
| Parameter | Type | Description |
|---|---|---|
buffer | byte[] | The buffer with which to populate the descriptor. |
Endpoint(byte[] buffer, int offset)
public Endpoint(byte[] buffer, int offset)
Constructs a new descriptor.
| Parameter | Type | Description |
|---|---|---|
buffer | byte[] | The buffer with which to populate the descriptor. |
offset | int | The offset into the buffer at which to start. |
Endpoint()
protected Endpoint()
Constructs a new descriptor.
Properties
Address
public byte Address { get; set; }
The endpoint address.
Returns byte
Attributes
public byte Attributes { get; set; }
The attributes of the endpoint.
Returns byte
AuxiliaryDescriptors
public Auxiliary[] AuxiliaryDescriptors { get; set; }
Child auxiliary descriptors.
Returns Auxiliary[]
Interval
public byte Interval { get; set; }
The interval for data transfer pooling in frame counts.
Returns byte
MaximumPacketSize
public ushort MaximumPacketSize { get; set; }
The maximum packet size this endpoint can transmit.
Returns ushort
Fields
FixedLength
public const byte FixedLength = 7
The fixed length of this descriptor type in bytes.