class ConfigureEndpoint

Defined at line 174 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.dci/fuchsia.hardware.usb.dci/cpp/fidl/fuchsia.hardware.usb.dci/cpp/markers.h

Configure an endpoint with the given configuration parameters.

See usb20 9.6.6 (Standard Endpoint Descriptor).

Typically called in response to host `SET_CONFIGURATION` or `SET_INTERFACE` control

requests routed via `Control`.

Calling this for an already configured endpoint reconfigures it.

This method replies after hardware registers for the physical endpoint (direction, type,

packet size) have been updated and the endpoint is enabled.

* error:

* `ZX_ERR_INVALID_ARGS` if the endpoint address or type is invalid (e.g. EP0).

* `ZX_ERR_NOT_SUPPORTED` if the endpoint type (e.g. Isochronous) is not supported.

* `ZX_ERR_NO_RESOURCES` if there are insufficient hardware resources (e.g. TX FIFO

space).

* `ZX_ERR_IO_NOT_PRESENT` if the controller is powered off.

* `ZX_ERR_BAD_STATE` if the controller is stopped or interface is not bound.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal