Re-exports§
pub use self::natural::*;
Modules§
Structs§
- Controller
Info ControllerInfois passed to SPMI controller drivers via metadata.- Debug
- The type corresponding to the Debug protocol.
- Debug
GetController Properties Response - Debug
Service - 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.
- Debug
Service Connector - A strongly-typed service connector for the
DebugServiceservice. - Device
- The type corresponding to the Device protocol.
Each instance of
Devicerepresents a target/secondary SPMI device on a SPMI bus. To support multiple SPMI devices, multiple nodes must be instantiated. - Device
Cancel Watch Controller Write Commands Request - Device
GetProperties Response - Device
Register Read Request - Device
Register Read Response - Device
Register Write Request - Register8
- A single register read from or written to with an SPMI command that uses an 8-bit address.
- SubTarget
Info - SubTarget
Service - 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.
- SubTarget
Service Connector - A strongly-typed service connector for the
SubTargetServiceservice. - Target
Info - Target
Service - The type corresponding to the TargetService service. This service represents an SPMI target device. Clients have access to the entire SPMI register range.
- Target
Service Connector - A strongly-typed service connector for the
TargetServiceservice.
Enums§
- Driver
Error - 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§
- Debug
Client Handler - A client handler for the Debug protocol.
- Debug
Local Client Handler - A client handler for the Debug protocol.
- Debug
Local Server Handler - A server handler for the Debug protocol.
- Debug
Server Handler - A server handler for the Debug protocol.
- Debug
Service Handler - A service handler for the
DebugServiceservice. - Device
Client Handler - A client handler for the Device protocol.
- Device
Local Client Handler - A client handler for the Device protocol.
- Device
Local Server Handler - A server handler for the Device protocol.
- Device
Server Handler - A server handler for the Device protocol.
- SubTarget
Service Handler - A service handler for the
SubTargetServiceservice. - Target
Service Handler - A service handler for the
TargetServiceservice.