Header menu logo fable-electron-docs-api

Endpoints Type

Constructors

Constructor Description

Endpoints(endpointNumber, direction, type, packetSize)

Full Usage: Endpoints(endpointNumber, direction, type, packetSize)

Parameters:
    endpointNumber : 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
endpointNumber : 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

this.direction

Full Usage: this.direction

the direction in which this endpoint transfers data - can be either 'in' or 'out'.

this.endpointNumber

Full Usage: this.endpointNumber

this endpoint's "endpoint number" which is a value from 1 to 15.

this.packetSize

Full Usage: this.packetSize

the size of the packets that data sent through this endpoint will be divided into.

this.type

Full Usage: this.type

the type of this endpoint - can be either 'bulk', 'interrupt', or 'isochronous'.

Type something to start searching.