class EndpointSetStall

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

Set stall condition (`HALT` feature) for the given endpoint.

See usb20 8.5.3.4 (Stall Handshakes).

Must only be called for endpoints that have been configured via `ConfigureEndpoint` and

have not been disabled. Calling this on an already stalled endpoint is a no-op.

This method replies after hardware has been configured to return `STALL` handshakes. All

pending transfers on the endpoint are cancelled, sending completion events with

`ZX_ERR_CANCELED`. Note that setting stall does not modify the endpoint's data toggle bit.

* error:

* `ZX_ERR_INVALID_ARGS` if the endpoint address is invalid or not active.

* `ZX_ERR_NOT_SUPPORTED` if stall is not supported for this endpoint.

* `ZX_ERR_BAD_STATE` if the controller is stopped.

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