fuchsia.hardware.usb.phy

Added: HEAD

PROTOCOLS

ConnectionWatcher

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

WatchConnectStatusChanged

Hanging-get that notifies callers when USB has been connected or disconnected. Returns immediately on the first call, or if the connection status has changed since the last call.

Returns:

  • ZX_ERR_BAD_STATE: A hanging-get call was already pending.

Request

<EMPTY>

Response

NameType
payload ConnectionWatcher_WatchConnectStatusChanged_Result

UsbPhy

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

ConnectStatusChanged

Informs the PHY when peripheral role connect status changed.

Request

NameType
connected bool

Response

NameType
payload UsbPhy_ConnectStatusChanged_Result

STRUCTS

ConnectionWatcher_WatchConnectStatusChanged_Response

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

FieldTypeDescriptionDefault
connected bool No default

UsbPhy_ConnectStatusChanged_Response

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

<EMPTY>

ENUMS

AmlogicPhyType flexible

Type: uint32

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

NameValueDescription
0
1

Mode flexible

Type: uint32

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

NameValueDescription
0
1
2
3

ProtocolVersion flexible

Type: uint32

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

NameValueDescription
2
3

TABLES

Metadata

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

OrdinalFieldTypeDescription
usb_phy_modes vector<UsbPhyMode>
phy_type AmlogicPhyType

Optional.

UsbPhyMode

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

OrdinalFieldTypeDescription
protocol ProtocolVersion
dr_mode Mode
is_otg_capable bool

UNIONS

ConnectionWatcher_WatchConnectStatusChanged_Result strict

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

OrdinalVariantTypeDescription
response ConnectionWatcher_WatchConnectStatusChanged_Response
err zx/Status
framework_err internal

UsbPhy_ConnectStatusChanged_Result strict

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

OrdinalVariantTypeDescription
response UsbPhy_ConnectStatusChanged_Response
err zx/Status
framework_err internal

SERVICES

ConnectionWatcherService

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

NameTypeTransport
watcher fuchsia.hardware.usb.phy/ConnectionWatcher Channel

Service

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

NameTypeTransport
device fuchsia.hardware.usb.phy/UsbPhy Channel