template <>
class WireWeakSyncClientImpl
Defined at line 2897 of file fidling/gen/sdk/fidl/fuchsia.hardware.power/fuchsia.hardware.power/cpp/fidl/fuchsia.hardware.power/cpp/wire_messaging.h
Public Methods
::fidl::WireResult< ::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 56 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::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 48 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_power::Device::GetSupportedVoltageRange> GetSupportedVoltageRange ()
Get Supported Voltage Range. min and max are in micorVolts(uV)
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::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 56 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_power::Device::GetCurrentVoltage> GetCurrentVoltage (uint32_t index)
Get current voltage in uV.
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_power::Device::GetPowerDomainStatus> GetPowerDomainStatus ()
Get power domain status
Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_power::Device::WritePmicCtrlReg> WritePmicCtrlReg (uint32_t reg_addr, uint32_t value)
Write to ctrl register of PMIC
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_power::Device::ReadPmicCtrlReg> ReadPmicCtrlReg (uint32_t reg_addr)
Read ctrl register of PMIC
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.