Skip to main content

Crate fidl_fuchsia_hardware_google_odpm

Crate fidl_fuchsia_hardware_google_odpm 

Source

Modules§

device_ordinals
driver_config_ordinals

Macros§

MeasurementTypeUnknown
Pattern that matches an unknown MeasurementType member.

Structs§

CurrentReading
DeviceControlHandle
DeviceEventStream
DeviceGetCurrentAmperesResponder
DeviceGetEnergyJoulesResponder
DeviceGetPowerWattsResponder
DeviceGetRailMetadataResponder
DeviceMarker
DeviceProxy
DeviceRequestStream
A Stream of incoming requests for fuchsia.hardware.google.odpm/Device.
DeviceSynchronousProxy
DriverConfigControlHandle
DriverConfigEventStream
DriverConfigGetPollingConfigResponder
DriverConfigMarker
DriverConfigProxy
DriverConfigRequestStream
A Stream of incoming requests for fuchsia.hardware.google.odpm/DriverConfig.
DriverConfigResetPollingConfigResponder
DriverConfigSetPollingConfigResponder
DriverConfigSynchronousProxy
EnergyReading
Options
PollingConfig
Configuration options for the ODPM driver hardware polling loop.
PowerReading
RailMetadata
ServiceMarker
ServiceProxy
One instance of this service is implemented for each power rail.

Enums§

DeviceEvent
DeviceRequest
Provides power and power-related measurements for a single rail.
DriverConfigEvent
DriverConfigRequest
Interface implemented by the ODPM driver to configure polling parameters. Settings apply to all devices exposed by fuchsia.hardware.google.odpm/Service
MeasurementType
ServiceRequest
A request for one of the member protocols of Service.

Constants§

MAX_RAIL_NAME_SIZE
MIN_POLL_INTERVAL
Minimum allowed hardware polling interval (10 ms).

Traits§

DeviceProxyInterface
DriverConfigProxyInterface

Type Aliases§

DeviceGetCurrentAmperesResult
DeviceGetEnergyJoulesResult
DeviceGetPowerWattsResult
DeviceGetRailMetadataResult
DriverConfigGetPollingConfigResult
DriverConfigResetPollingConfigResult
DriverConfigSetPollingConfigResult
RailName
An arbitrary, human-readable string that uniquely identifies a power rail.