template <>

class WireWeakAsyncClientImpl

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

Public Methods

::fidl::internal::WireThenable< ::fuchsia_hardware_power::Device::RegisterPowerDomain> RegisterPowerDomain (uint32_t min_needed_voltage, uint32_t max_supported_voltage)

Register the callee for this power domain. The callee will be registered until

UnregisterPowerDomain is called. Any voltage changes to the power domain will

be made considering the min_needed_voltage(in uV) and max_supported_voltage(in uV) published here.

If voltages mentioned are out of supported voltage range of domain(obtained by calling

GetSupportedVoltageRange), the callee will be registered with the supported voltage range.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_hardware_power::Device::UnregisterPowerDomain> UnregisterPowerDomain ()

Unregister the callee for this power domain. The callee will no longer be considered as

a dependent of this power domain.

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_hardware_power::Device::GetSupportedVoltageRange> GetSupportedVoltageRange ()

Get Supported Voltage Range. min and max are in micorVolts(uV)

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_hardware_power::Device::RequestVoltage> RequestVoltage (uint32_t voltage)

Request a particular voltage. The actual_voltage is the voltage that the power domain

is transitioned to after considering supported voltage ranges of all the registered

dependents. "voltage" should be in uV.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_hardware_power::Device::GetCurrentVoltage> GetCurrentVoltage (uint32_t index)

Get current voltage in uV.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_hardware_power::Device::GetPowerDomainStatus> GetPowerDomainStatus ()

Get power domain status

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_hardware_power::Device::WritePmicCtrlReg> WritePmicCtrlReg (uint32_t reg_addr, uint32_t value)

Write to ctrl register of PMIC

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_hardware_power::Device::ReadPmicCtrlReg> ReadPmicCtrlReg (uint32_t reg_addr)

Read ctrl register of PMIC

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.