Added: 11
PROTOCOLS
Device
Defined in fuchsia.hardware.power.sensor/sensor.fidl
GetPowerWatts
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
Device_GetPowerWatts_Result
|
GetSensorName
Added: 14
Request
<EMPTY>
Response
Name | Type |
---|---|
name |
SensorName
|
GetVoltageVolts
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
Device_GetVoltageVolts_Result
|
STRUCTS
Device_GetPowerWatts_Response
Defined in fuchsia.hardware.power.sensor/sensor.fidl
Field | Type | Description | Default |
---|---|---|---|
power |
float32
|
No default |
Device_GetVoltageVolts_Response
Defined in fuchsia.hardware.power.sensor/sensor.fidl
Field | Type | Description | Default |
---|---|---|---|
voltage |
float32
|
No default |
UNIONS
Device_GetPowerWatts_Result strict
Defined in fuchsia.hardware.power.sensor/sensor.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
Device_GetPowerWatts_Response
|
|
2 |
err |
zx/Status
|
Device_GetVoltageVolts_Result strict
Defined in fuchsia.hardware.power.sensor/sensor.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
Device_GetVoltageVolts_Response
|
|
2 |
err |
zx/Status
|
CONSTANTS
Name | Value | Type | Description |
---|---|---|---|
MAX_SENSOR_NAME_LEN |
256
|
uint32 |
Added: 14
|
ALIASES
Name | Value | Description |
---|---|---|
SensorName |
string [MAX_SENSOR_NAME_LEN ] |
An arbritrary, human-readable string that uniquely identifies a power sensor. Added: 14
|
SERVICES
Service
Defined in fuchsia.hardware.power.sensor/sensor.fidl
Name | Type | Transport |
---|---|---|
device |
fuchsia.hardware.power.sensor/Device
|
Channel |