Skip to main content

Crate fidl_fuchsia_hardware_google_odpm

Crate fidl_fuchsia_hardware_google_odpm 

Source

Modules§

odpm_device_ordinals

Macros§

MeasurementTypeUnknown
Pattern that matches an unknown MeasurementType member.

Structs§

CurrentReading
EnergyReading
OdpmDeviceControlHandle
OdpmDeviceEventStream
OdpmDeviceGetAvailableRailsResponder
OdpmDeviceGetAvailableRailsResponse
OdpmDeviceGetCurrentAmperesResponder
OdpmDeviceGetCurrentAmperesResponse
OdpmDeviceGetEnergyJoulesResponder
OdpmDeviceGetEnergyJoulesResponse
OdpmDeviceGetPollingConfigResponder
OdpmDeviceGetPowerWattsResponder
OdpmDeviceGetPowerWattsResponse
OdpmDeviceGetRailMetadataResponder
OdpmDeviceGetRailMetadataResponse
OdpmDeviceMarker
OdpmDeviceProxy
OdpmDeviceRequestStream
A Stream of incoming requests for fuchsia.hardware.google.odpm/OdpmDevice.
OdpmDeviceResetPollingConfigResponder
OdpmDeviceSetChannelRailRequest
OdpmDeviceSetChannelRailResponder
OdpmDeviceSetPollingConfigResponder
OdpmDeviceSynchronousProxy
Options
PollingConfig
Configuration options for the ODPM driver hardware polling loop.
PowerReading
RailMetadata
ServiceMarker
ServiceProxy

Enums§

MeasurementType
OdpmDeviceEvent
OdpmDeviceRequest
Provides power and power-related measurements for all actively-monitored rails, dynamic rail multiplexing, and configuration for the ODPM driver’s hardware polling loop.
ServiceRequest
A request for one of the member protocols of Service.

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).

Traits§

OdpmDeviceProxyInterface

Type Aliases§

OdpmDeviceGetAvailableRailsResult
OdpmDeviceGetCurrentAmperesResult
OdpmDeviceGetEnergyJoulesResult
OdpmDeviceGetPollingConfigResult
OdpmDeviceGetPowerWattsResult
OdpmDeviceGetRailMetadataResult
OdpmDeviceResetPollingConfigResult
OdpmDeviceSetChannelRailResult
OdpmDeviceSetPollingConfigResult
RailName
An arbitrary, human-readable string that uniquely identifies a power rail.