template <>

class WireSyncClientImpl

Defined at line 645 of file fidling/gen/sdk/fidl/fuchsia.hardware.adc/fuchsia.hardware.adc/cpp/fidl/fuchsia.hardware.adc/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_hardware_adc::Device>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_hardware_adc::Device::GetResolution> GetResolution ()

Get adc resolution in number of bits

Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_hardware_adc::Device::GetSample> GetSample ()

Get sample - raw count from adc

Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_hardware_adc::Device::GetNormalizedSample> GetNormalizedSample ()

Get sample normalized to [0.0-1.0]

Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.