Skip to main content

Crate fidl_fuchsia_hardware_google_odpm_common

Crate fidl_fuchsia_hardware_google_odpm_common 

Source

Modules§

odpm_device_ordinals

Macros§

MeasurementTypeUnknown
Pattern that matches an unknown MeasurementType member.

Structs§

CurrentReading
EnergyReading
OdpmDeviceGetAvailableRailsResponse
OdpmDeviceGetCurrentAmperesResponse
OdpmDeviceGetEnergyJoulesResponse
OdpmDeviceGetPowerWattsResponse
OdpmDeviceGetRailMetadataResponse
OdpmDeviceSetChannelRailRequest
Options
PollingConfig
Configuration options for the ODPM driver hardware polling loop.
PowerReading
RailMetadata

Enums§

MeasurementType

Constants§

MAX_AVAILABLE_RAILS
Maximum number of available power rails supported by the hardware.
MAX_RAILS
Maximum number of actively-monitored power rails.
MAX_RAIL_NAME_SIZE
MIN_POLL_INTERVAL
Minimum allowed hardware polling interval (10 ms).

Type Aliases§

RailName
An arbitrary, human-readable string that uniquely identifies a power rail.