template <>

class WireWeakAsyncBufferClientImpl

Defined at line 2844 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::WireBufferThenable< ::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.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::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.

Caller provides the backing storage for FIDL message.

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

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

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::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.

Caller provides the backing storage for FIDL message.

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

Get current voltage in uV.

Caller provides the backing storage for FIDL message.

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

Get power domain status

Caller provides the backing storage for FIDL message.

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

Write to ctrl register of PMIC

Caller provides the backing storage for FIDL message.

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

Read ctrl register of PMIC

Caller provides the backing storage for FIDL message.