template <>

class NaturalSyncClientImpl

Defined at line 473 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.hci/fuchsia.hardware.usb.hci/cpp/fidl/fuchsia.hardware.usb.hci/cpp/natural_messaging.h

Public Methods

::fidl::Result< ::fuchsia_hardware_usb_hci::UsbHci::ConnectToEndpoint> ConnectToEndpoint (::fidl::Request< ::fuchsia_hardware_usb_hci::UsbHci::ConnectToEndpoint> request)

Connects to endpoint. Returns

* ZX_ERR_NOT_FOUND: if device id and/or endpoint address does not exist.

* ZX_ERR_ALREADY_BOUND: if the endpoint is already bound.

::fidl::Result< ::fuchsia_hardware_usb_hci::UsbHci::SetInterface> SetInterface (::fidl::Request< ::fuchsia_hardware_usb_hci::UsbHci::SetInterface> request)

Registers callbacks to the USB bus driver with the HCI driver.

::fidl::Result< ::fuchsia_hardware_usb_hci::UsbHci::GetMaxDeviceCount> GetMaxDeviceCount ()

Returns the maximum number of USB devices that might be connected to the controller.

::fidl::Result< ::fuchsia_hardware_usb_hci::UsbHci::EnableEndpoint> EnableEndpoint (const ::fidl::Request< ::fuchsia_hardware_usb_hci::UsbHci::EnableEndpoint> & request)

Enables or disables an endpoint using parameters derived from |ep_desc|.

::fidl::Result< ::fuchsia_hardware_usb_hci::UsbHci::GetCurrentFrame> GetCurrentFrame ()

Returns the current frame (in milliseconds), used for isochronous transfers.

::fidl::Result< ::fuchsia_hardware_usb_hci::UsbHci::ConfigureHub> ConfigureHub (const ::fidl::Request< ::fuchsia_hardware_usb_hci::UsbHci::ConfigureHub> & request)

Called by the USB hub driver to configure a newly enumerated USB hub.

::fidl::Result< ::fuchsia_hardware_usb_hci::UsbHci::HubDeviceAdded> HubDeviceAdded (const ::fidl::Request< ::fuchsia_hardware_usb_hci::UsbHci::HubDeviceAdded> & request)

Called by the USB hub driver when a new device is attached.

::fidl::Result< ::fuchsia_hardware_usb_hci::UsbHci::HubDeviceRemoved> HubDeviceRemoved (const ::fidl::Request< ::fuchsia_hardware_usb_hci::UsbHci::HubDeviceRemoved> & request)

Called by the USB hub driver when a device has been removed.

::fidl::Result< ::fuchsia_hardware_usb_hci::UsbHci::HubDeviceReset> HubDeviceReset (const ::fidl::Request< ::fuchsia_hardware_usb_hci::UsbHci::HubDeviceReset> & request)

Called by the USB hub driver when a device has been reset.

::fidl::Result< ::fuchsia_hardware_usb_hci::UsbHci::ResetEndpoint> ResetEndpoint (const ::fidl::Request< ::fuchsia_hardware_usb_hci::UsbHci::ResetEndpoint> & request)

Resets an endpoint on the specified device.

::fidl::Result< ::fuchsia_hardware_usb_hci::UsbHci::ResetDevice> ResetDevice (const ::fidl::Request< ::fuchsia_hardware_usb_hci::UsbHci::ResetDevice> & request)

Resets the specified device.

::fidl::Result< ::fuchsia_hardware_usb_hci::UsbHci::GetMaxTransferSize> GetMaxTransferSize (const ::fidl::Request< ::fuchsia_hardware_usb_hci::UsbHci::GetMaxTransferSize> & request)

Returns the maximum size of a packet that can be queued on the specified endpoint.