Skip to main content

Crate fidl_next_fuchsia_hardware_spmi

Crate fidl_next_fuchsia_hardware_spmi 

Source

Re-exports§

pub use self::natural::*;

Modules§

debug
device
generic
natural
wire
wire_optional

Structs§

ControllerInfo
ControllerInfo is passed to SPMI controller drivers via metadata.
Debug
The type corresponding to the Debug protocol.
DebugGetControllerPropertiesResponse
DebugService
The type corresponding to the DebugService service. 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.
DebugServiceConnector
A strongly-typed service connector for the DebugService service.
Device
The type corresponding to the Device protocol. Each instance of Device represents a target/secondary SPMI device on a SPMI bus. To support multiple SPMI devices, multiple nodes must be instantiated.
DeviceCancelWatchControllerWriteCommandsRequest
DeviceGetPropertiesResponse
DeviceRegisterReadRequest
DeviceRegisterReadResponse
DeviceRegisterWriteRequest
Register8
A single register read from or written to with an SPMI command that uses an 8-bit address.
SubTargetInfo
SubTargetService
The type corresponding to the SubTargetService service. 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.
SubTargetServiceConnector
A strongly-typed service connector for the SubTargetService service.
TargetInfo
TargetService
The type corresponding to the TargetService service. This service represents an SPMI target device. Clients have access to the entire SPMI register range.
TargetServiceConnector
A strongly-typed service connector for the TargetService service.

Enums§

DriverError
Errors that this driver may return.

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§

DebugClientHandler
A client handler for the Debug protocol.
DebugLocalClientHandler
A client handler for the Debug protocol.
DebugLocalServerHandler
A server handler for the Debug protocol.
DebugServerHandler
A server handler for the Debug protocol.
DebugServiceHandler
A service handler for the DebugService service.
DeviceClientHandler
A client handler for the Device protocol.
DeviceLocalClientHandler
A client handler for the Device protocol.
DeviceLocalServerHandler
A server handler for the Device protocol.
DeviceServerHandler
A server handler for the Device protocol.
SubTargetServiceHandler
A service handler for the SubTargetService service.
TargetServiceHandler
A service handler for the TargetService service.

Type Aliases§

DebugConnectTargetResponse
DeviceCancelWatchControllerWriteCommandsResponse
DeviceRegisterWriteResponse