Свойство | Тип | Описание | |
---|---|---|---|
MaxReadWrite | int |
Свойство | Тип | Описание | |
---|---|---|---|
CreateTransferContext | |||
DisposeAndRemoveFromList | void | ||
ReadPipe | int | ||
UsbEndpointBase | System | ||
WritePipe | int |
Метод | Описание | |
---|---|---|
Abort ( ) : bool |
Aborts pending IO operation on this enpoint of one exists.
|
|
Dispose ( ) : void |
Frees resources associated with the endpoint. Once disposed this UsbEndpointBase cannot be used.
|
|
Flush ( ) : bool |
Discards any data that is cached in this endpoint.
|
|
LookupEndpointInfo ( |
Looks up endpoint/interface information in a configuration.
|
|
NewAsyncTransfer ( ) : |
Creates a UsbTransfer context for asynchronous transfers. This method returns a new, empty transfer context. Unlike |
|
Reset ( ) : bool |
Resets the data toggle and clears the stall condition on an enpoint.
|
|
SubmitAsyncTransfer ( |
Creates, fills and submits an asynchronous UsbTransfer context. |
|
SubmitAsyncTransfer ( object buffer, int offset, int length, int timeout, |
Creates, fills and submits an asynchronous UsbTransfer context. |
|
Transfer ( |
Synchronous bulk/interrupt transfer function.
|
|
Transfer ( object buffer, int offset, int length, int timeout, int &transferLength ) : ErrorCode |
Synchronous bulk/interrupt transfer function.
|
Метод | Описание | |
---|---|---|
CreateTransferContext ( ) : |
||
DisposeAndRemoveFromList ( ) : void | ||
ReadPipe ( |
||
UsbEndpointBase ( UsbDevice usbDevice, byte epNum, EndpointType endpointType ) : System | ||
WritePipe ( |
public static LookupEndpointInfo ( |
||
currentConfigInfo | The config to seach. | |
endpointAddress | byte | The endpoint address to look for. |
usbInterfaceInfo | On success, the |
|
usbEndpointInfo | On success, the |
|
Результат | bool |
public SubmitAsyncTransfer ( |
||
buffer | A caller-allocated buffer for the data that is transferred. | |
offset | int | Position in buffer that transferring begins. |
length | int | Number of bytes, starting from thr offset parameter to transfer. |
timeout | int | Maximum time to wait for the transfer to complete. |
transferContext | On |
|
Результат | ErrorCode |
public SubmitAsyncTransfer ( object buffer, int offset, int length, int timeout, |
||
buffer | object | A caller-allocated buffer for the data that is transferred. |
offset | int | Position in buffer that transferring begins. |
length | int | Number of bytes, starting from thr offset parameter to transfer. |
timeout | int | Maximum time to wait for the transfer to complete. |
transferContext | On |
|
Результат | ErrorCode |
public Transfer ( |
||
buffer | An |
|
offset | int | Position in buffer that transferring begins. |
length | int | Number of bytes, starting from thr offset parameter to transfer. |
timeout | int | Maximum time to wait for the transfer to complete. |
transferLength | int | Number of bytes actually transferred. |
Результат | ErrorCode |
public Transfer ( object buffer, int offset, int length, int timeout, int &transferLength ) : ErrorCode | ||
buffer | object | A caller-allocated buffer for the transfer data. This object is pinned using |
offset | int | Position in buffer that transferring begins. |
length | int | Number of bytes, starting from thr offset parameter to transfer. |
timeout | int | Maximum time to wait for the transfer to complete. |
transferLength | int | Number of bytes actually transferred. |
Результат | ErrorCode |