fuchsia.hardware.usb.dci

Added: HEAD

PROTOCOLS

UsbDci

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

CancelAll

Cancel all pending transactions for the given endpoint.

Request

NameType
ep_address uint8

Response

NameType
payload UsbDci_CancelAll_Result

ConfigureEndpoint

Configure and endpoint with the given configuration.

See usb20 9.6.6

Request

NameType
ep_descriptor fuchsia.hardware.usb.descriptor/UsbEndpointDescriptor
ss_comp_descriptor fuchsia.hardware.usb.descriptor/UsbSsEpCompDescriptor

Response

NameType
payload UsbDci_ConfigureEndpoint_Result

ConnectToEndpoint

Connects to endpoint. Returns

  • ZX_ERR_NOT_FOUND: if endpoint address does not exist.
  • ZX_ERR_ALREADY_BOUND: if the endpoint is already bound.

Request

NameType
ep_addr uint8
ep server_end:fuchsia.hardware.usb.endpoint/Endpoint

Response

NameType
payload UsbDci_ConnectToEndpoint_Result

DisableEndpoint

Disable the given endpoint.

Request

NameType
ep_address uint8

Response

NameType
payload UsbDci_DisableEndpoint_Result

EndpointClearStall

Clear stall condition for the given endpoint.

See usb32 8.5.3.4

Request

NameType
ep_address uint8

Response

NameType
payload UsbDci_EndpointClearStall_Result

EndpointSetStall

Set stall condition for the given endpoint.

See usb20 8.5.3.4

Request

NameType
ep_address uint8

Response

NameType
payload UsbDci_EndpointSetStall_Result

SetInterface

Bind the interface as given by the child node.

Request

NameType
interface client_end:UsbDciInterface

Response

NameType
payload UsbDci_SetInterface_Result

UsbDciInterface

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

Interface for parent (typically DCI driver) to call into its child (currently usb-peripheral driver). UsbDci::Use SetInterface() to bind client_end in the parent driver.

Control

Dispatch a control transaction.

See usb20 8.5.3 and 9.6

Request

NameType
setup fuchsia.hardware.usb.descriptor/UsbSetup
write vector<uint8>

Response

NameType
payload UsbDciInterface_Control_Result

SetConnected

Inform driver of current port connection state.

Request

NameType
is_connected bool

Response

NameType
payload UsbDciInterface_SetConnected_Result

SetSpeed

Inform driver of current bus speed.

Request

NameType
speed fuchsia.hardware.usb.descriptor/UsbSpeed

Response

NameType
payload UsbDciInterface_SetSpeed_Result

STRUCTS

UsbDciInterface_Control_Response

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

FieldTypeDescriptionDefault
read vector<uint8> No default

UsbDciInterface_SetConnected_Response

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

<EMPTY>

UsbDciInterface_SetSpeed_Response

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

<EMPTY>

UsbDci_CancelAll_Response

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

<EMPTY>

UsbDci_ConfigureEndpoint_Response

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

<EMPTY>

UsbDci_ConnectToEndpoint_Response

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

<EMPTY>

UsbDci_DisableEndpoint_Response

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

<EMPTY>

UsbDci_EndpointClearStall_Response

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

<EMPTY>

UsbDci_EndpointSetStall_Response

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

<EMPTY>

UsbDci_SetInterface_Response

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

<EMPTY>

UNIONS

UsbDciInterface_Control_Result strict

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

OrdinalVariantTypeDescription
response UsbDciInterface_Control_Response
err zx/Status
framework_err internal

UsbDciInterface_SetConnected_Result strict

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

OrdinalVariantTypeDescription
response UsbDciInterface_SetConnected_Response
err zx/Status
framework_err internal

UsbDciInterface_SetSpeed_Result strict

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

OrdinalVariantTypeDescription
response UsbDciInterface_SetSpeed_Response
err zx/Status
framework_err internal

UsbDci_CancelAll_Result strict

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

OrdinalVariantTypeDescription
response UsbDci_CancelAll_Response
err zx/Status
framework_err internal

UsbDci_ConfigureEndpoint_Result strict

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

OrdinalVariantTypeDescription
response UsbDci_ConfigureEndpoint_Response
err zx/Status
framework_err internal

UsbDci_ConnectToEndpoint_Result strict

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

OrdinalVariantTypeDescription
response UsbDci_ConnectToEndpoint_Response
err zx/Status
framework_err internal

UsbDci_DisableEndpoint_Result strict

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

OrdinalVariantTypeDescription
response UsbDci_DisableEndpoint_Response
err zx/Status
framework_err internal

UsbDci_EndpointClearStall_Result strict

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

OrdinalVariantTypeDescription
response UsbDci_EndpointClearStall_Response
err zx/Status
framework_err internal

UsbDci_EndpointSetStall_Result strict

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

OrdinalVariantTypeDescription
response UsbDci_EndpointSetStall_Response
err zx/Status
framework_err internal

UsbDci_SetInterface_Result strict

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

OrdinalVariantTypeDescription
response UsbDci_SetInterface_Response
err zx/Status
framework_err internal

SERVICES

UsbDciService

Defined in fuchsia.hardware.usb.dci/usb-dci.fidl

NameTypeTransport
device fuchsia.hardware.usb.dci/UsbDci Channel