class ConfigureEndpoint

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

Configure and enable an endpoint with the given configuration.

Called by the function driver in response to `SetConfigured` (when `configured == true`) or

`SetInterface` requests to enable physical transfers on the endpoint. Calling this before

the function has been configured via `Configure` returns `ZX_ERR_BAD_STATE`. Clients should

wait for the `SetConfigured` or `SetInterface` request before configuring endpoints to

ensure the host is ready.

The endpoint must have been allocated via `AllocResources`.

Returns only after the physical endpoint has been configured by the DCI driver.

See USB 2.0 Specification Section 9.6.6 (Endpoint Descriptor) for details on the standard

endpoint configuration fields mapped in `EndpointConfiguration`.

* error:

* `ZX_ERR_BAD_STATE` if the function is not configured.

* `ZX_ERR_IO_NOT_PRESENT` if the device is not running, disconnected, or inactive.

* `ZX_ERR_NOT_FOUND` if the endpoint address does not exist (not allocated).

* `ZX_ERR_INVALID_ARGS` if the configuration is invalid.

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