pub type Register<'a, T, M, const ADDR: u16> = _Register<'a, T, M, DeviceType, ADDR>;Expand description
A generic register accessor parameterized by value type, mode, and address.
This is a convenience alias that binds Register to the
platform-specific DeviceType.
§Generics
T- The typed register value (e.g., generated byspmi_register!).M- The access mode (ReadOnly,WriteOnly,ReadWrite).ADDR- The register address.
Aliased Type§
pub struct Register<'a, T, M, const ADDR: u16> {
pub spmi: &'a DeviceProxy,
/* private fields */
}Fields§
§spmi: &'a DeviceProxyThe underlying SPMI device.