Endpoints Type
Constructors
| Constructor |
Description
|
Full Usage:
Endpoints(endpointNumber, direction, type, packetSize)
Parameters:
int
-
this endpoint's "endpoint number" which is a value from 1 to 15.
direction : string
-
the direction in which this endpoint transfers data - can be either 'in' or 'out'.
type : string
-
the type of this endpoint - can be either 'bulk', 'interrupt', or 'isochronous'.
packetSize : int
-
the size of the packets that data sent through this endpoint will be divided into.
Returns: Endpoints
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.direction
|
the direction in which this endpoint transfers data - can be either 'in' or 'out'. |
Full Usage:
this.endpointNumber
|
this endpoint's "endpoint number" which is a value from 1 to 15. |
Full Usage:
this.packetSize
|
the size of the packets that data sent through this endpoint will be divided into. |
Full Usage:
this.type
|
the type of this endpoint - can be either 'bulk', 'interrupt', or 'isochronous'. |
fable-electron-docs-api