Google is committed to advancing racial equity for Black communities. See how.

fuchsia.hardware.usb.modeswitch

PROTOCOLS

UsbModeSwitch

Defined in fuchsia.hardware.usb.modeswitch/usb-mode-switch.fidl

SetMode

Sets the current USB mode.

Request

NameType
mode UsbMode

Response

NameType
s zx/status

STRUCTS

ENUMS

UsbMode strict

Type: uint32

Defined in fuchsia.hardware.usb.modeswitch/usb-mode-switch.fidl

Values for SetMode.

NameValueDescription
NONE 0
HOST 1
PERIPHERAL 2
OTG 3