UsbInterruptInEndpointDescriptor
UsbInterruptInEndpointDescriptor
UsbInterruptInEndpointDescriptor
UsbInterruptInEndpointDescriptor
Class
Definition
The endpoint descriptor for a USB interrupt IN endpoint. The descriptor specifies the endpoint type, direction, number and also the maximum number of bytes that can be read from the endpoint, in a single transfer. The app can also get information about how often the host polls the endpoint for data.
public : sealed class UsbInterruptInEndpointDescriptor : IUsbInterruptInEndpointDescriptorpublic sealed class UsbInterruptInEndpointDescriptor : IUsbInterruptInEndpointDescriptorPublic NotInheritable Class UsbInterruptInEndpointDescriptor Implements IUsbInterruptInEndpointDescriptor// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
EndpointNumber EndpointNumber EndpointNumber EndpointNumber
Gets the USB endpoint number of the interrupt IN endpoint.
public : byte EndpointNumber { get; }public byte EndpointNumber { get; }Public ReadOnly Property EndpointNumber As byte// You can use this property in JavaScript.
- Value
- byte byte byte byte
The endpoint number of the interrupt IN endpoint. That number is in Bit 3...0 of the bEndpointAddress field of an endpoint descriptor. For information, see Table 9-13 in the Universal Serial Bus Specification (version 2.0) or Table 9-18 in the Universal Serial Bus 3.0 Specification.
Interval Interval Interval Interval
Gets the poling interval of the USB interrupt endpoint.
public : TimeSpan Interval { get; }public TimeSpan Interval { get; }Public ReadOnly Property Interval As TimeSpan// You can use this property in JavaScript.
- Value
- TimeSpan TimeSpan TimeSpan TimeSpan
The poling interval of the USB interrupt endpoint.
MaxPacketSize MaxPacketSize MaxPacketSize MaxPacketSize
Gets the maximum number of bytes that can be sent to or received (in a packet) from this endpoint.
public : unsigned int MaxPacketSize { get; }public uint MaxPacketSize { get; }Public ReadOnly Property MaxPacketSize As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
Indicates the maximum packet size of the endpoint. This value is the wMaxPacketSize field value of the endpoint descriptor. For information, see Table 9-13 in the Universal Serial Bus Specification (version 2.0) or Table 9-18 in the Universal Serial Bus 3.0 Specification.
Remarks
The MaxPacketSize property value does not necessarily indicate the number of bytes that will be read at a time, in one interval.
Pipe Pipe Pipe Pipe
Gets the object that represents the pipe that the host opens to communicate with the interrupt IN endpoint.
public : UsbInterruptInPipe Pipe { get; }public UsbInterruptInPipe Pipe { get; }Public ReadOnly Property Pipe As UsbInterruptInPipe// You can use this property in JavaScript.
An UsbInterruptInPipe object that is the pipe for the interrupt IN endpoint.