template <>

class NaturalClientImpl

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

Public Methods

::fidl::internal::NaturalThenable< ::fuchsia_hardware_power::Device::RegisterPowerDomain> RegisterPowerDomain (const ::fidl::Request< ::fuchsia_hardware_power::Device::RegisterPowerDomain> & request)

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.

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

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

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

::fidl::internal::NaturalThenable< ::fuchsia_hardware_power::Device::RequestVoltage> RequestVoltage (const ::fidl::Request< ::fuchsia_hardware_power::Device::RequestVoltage> & request)

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.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_power::Device::GetCurrentVoltage> GetCurrentVoltage (const ::fidl::Request< ::fuchsia_hardware_power::Device::GetCurrentVoltage> & request)

Get current voltage in uV.

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

Get power domain status

::fidl::internal::NaturalThenable< ::fuchsia_hardware_power::Device::WritePmicCtrlReg> WritePmicCtrlReg (const ::fidl::Request< ::fuchsia_hardware_power::Device::WritePmicCtrlReg> & request)

Write to ctrl register of PMIC

::fidl::internal::NaturalThenable< ::fuchsia_hardware_power::Device::ReadPmicCtrlReg> ReadPmicCtrlReg (const ::fidl::Request< ::fuchsia_hardware_power::Device::ReadPmicCtrlReg> & request)

Read ctrl register of PMIC