fuchsia.hardware.power.usb

Added: HEAD

PROTOCOLS

UsbSource

Defined in fuchsia.hardware.power.usb/usb.fidl

GetSpec

Returns static hardware characteristics of the USB source immediately.

Request

<EMPTY>

Response

NameType
payload UsbSource_GetSpec_Result

GetStatus

Returns dynamic status of the USB source immediately.

Request

<EMPTY>

Response

NameType
payload UsbSource_GetStatus_Result

SetInputCurrentLimit

Set the maximum current limit for this USB input.

Request

NameType
limit_ua uint32

Response

NameType
payload UsbSource_SetInputCurrentLimit_Result

Watch

Hanging get for status updates. See fuchsia.hardware.power.source/Source.Watch for semantics.

Request

NameType
interest Status
wake_on Status
lease fuchsia.power.system/LeaseToken

Response

NameType
payload UsbSource_Watch_Result

STRUCTS

UsbSource_GetSpec_Response

Defined in fuchsia.hardware.power.usb/usb.fidl

FieldTypeDescriptionDefault
spec Spec No default

UsbSource_GetStatus_Response

Defined in fuchsia.hardware.power.usb/usb.fidl

FieldTypeDescriptionDefault
status Status No default

UsbSource_SetInputCurrentLimit_Response

Defined in fuchsia.hardware.power.usb/usb.fidl

<EMPTY>

UsbSource_Watch_Response resource

Defined in fuchsia.hardware.power.usb/usb.fidl

FieldTypeDescriptionDefault
status Status No default
wake_lease fuchsia.power.system/LeaseToken No default

TABLES

Spec

Defined in fuchsia.hardware.power.usb/usb.fidl

Static hardware characteristics of the USB source.

OrdinalFieldTypeDescription
source_spec fuchsia.hardware.power.source/Spec

Base spec from the underlying power source.

Status

Defined in fuchsia.hardware.power.usb/usb.fidl

Dynamic status of the USB source.

OrdinalFieldTypeDescription
source_status fuchsia.hardware.power.source/Status

Base status from the underlying power source.

input_current_limit_ua uint32

The current settled input current limit, in microamps.

UNIONS

UsbSource_GetSpec_Result strict

Defined in fuchsia.hardware.power.usb/usb.fidl

OrdinalVariantTypeDescription
response UsbSource_GetSpec_Response
err fuchsia.hardware.power.source/Error
framework_err internal

UsbSource_GetStatus_Result strict

Defined in fuchsia.hardware.power.usb/usb.fidl

OrdinalVariantTypeDescription
response UsbSource_GetStatus_Response
err fuchsia.hardware.power.source/Error
framework_err internal

UsbSource_SetInputCurrentLimit_Result strict

Defined in fuchsia.hardware.power.usb/usb.fidl

OrdinalVariantTypeDescription
response UsbSource_SetInputCurrentLimit_Response
err fuchsia.hardware.power.source/Error
framework_err internal

UsbSource_Watch_Result strict resource

Defined in fuchsia.hardware.power.usb/usb.fidl

OrdinalVariantTypeDescription
response UsbSource_Watch_Response
framework_err internal

SERVICES

Service

Defined in fuchsia.hardware.power.usb/usb.fidl

NameTypeTransport
usb fuchsia.hardware.power.usb/UsbSource Channel
power_source fuchsia.hardware.power.source/Source Channel