Skip to main content

Crate fidl_fuchsia_hardware_spmi

Crate fidl_fuchsia_hardware_spmi 

Source

Modules§

debug_ordinals
device_ordinals

Macros§

DriverErrorUnknown
Pattern that matches an unknown DriverError member.

Structs§

ControllerInfo
ControllerInfo is passed to SPMI controller drivers via metadata.
DebugConnectTargetRequest
DebugConnectTargetResponder
DebugControlHandle
DebugEventStream
DebugGetControllerPropertiesResponder
DebugGetControllerPropertiesResponse
DebugMarker
DebugProxy
DebugRequestStream
A Stream of incoming requests for fuchsia.hardware.spmi/Debug.
DebugServiceMarker
DebugServiceProxy
This service can be used by command-line utilities and tests to connect to any target device on the SPMI bus. It is not exposed to drivers.
DebugSynchronousProxy
DeviceCancelWatchControllerWriteCommandsRequest
DeviceCancelWatchControllerWriteCommandsResponder
DeviceControlHandle
DeviceEventStream
DeviceGetPropertiesResponder
DeviceGetPropertiesResponse
DeviceMarker
DeviceProxy
DeviceRegisterReadRequest
DeviceRegisterReadResponder
DeviceRegisterReadResponse
DeviceRegisterWriteRequest
DeviceRegisterWriteResponder
DeviceRequestStream
A Stream of incoming requests for fuchsia.hardware.spmi/Device.
DeviceSynchronousProxy
DeviceWatchControllerWriteCommandsRequest
DeviceWatchControllerWriteCommandsResponder
DeviceWatchControllerWriteCommandsResponse
Register8
A single register read from or written to with an SPMI command that uses an 8-bit address.
SubTargetInfo
SubTargetServiceMarker
SubTargetServiceProxy
This service represents a sub-target device within an SPMI target. Clients have access to a subset of the SPMI register range as determined by the controller driver.
TargetInfo
TargetServiceMarker
TargetServiceProxy
This service represents an SPMI target device. Clients have access to the entire SPMI register range.

Enums§

DebugEvent
DebugRequest
DebugServiceRequest
A request for one of the member protocols of DebugService.
DeviceEvent
DeviceRequest
Each instance of Device represents a target/secondary SPMI device on a SPMI bus. To support multiple SPMI devices, multiple nodes must be instantiated.
DriverError
Errors that this driver may return.
SubTargetServiceRequest
A request for one of the member protocols of SubTargetService.
TargetServiceRequest
A request for one of the member protocols of TargetService.

Constants§

MAX_CONTROLLER_WRITE_COMMANDS
An arbitrary limit on the number of register writes that can be returned to WatchControllerWriteCommands().
MAX_SPMI_NAME_LEN
Maximum length of the SPMI device name.
MAX_SUB_TARGETS
MAX_TARGETS

Traits§

DebugProxyInterface
DeviceProxyInterface

Type Aliases§

DebugConnectTargetResult
DeviceCancelWatchControllerWriteCommandsResult
DeviceRegisterReadResult
DeviceRegisterWriteResult
DeviceWatchControllerWriteCommandsResult