class StartController

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

Start running in peripheral mode.

Connect the device to the USB host. Called by `usb-peripheral` once all function drivers

have bound to their interfaces and are ready to receive host traffic.

Must only be called after `SetInterface` has successfully bound a callback interface.

Calling this when the controller is already running is a no-op and returns `ZX_OK`.

This method replies after hardware registers are initialized and the physical D+ pull-up is

asserted. It does not wait for bus enumeration or configuration from the host to complete.

After this replies successfully, the controller may begin calling `SetConnected` and

`SetSpeed` on the bound `UsbDciInterface` as physical bus state changes.

* error:

* `ZX_ERR_BAD_STATE` if called before `SetInterface` has bound a callback.

* `ZX_ERR_IO` if hardware initialization fails due to a hardware error.

* `ZX_ERR_IO_NOT_PRESENT` if the controller hardware is not present or powered off.

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