Skip to main content

Module common

Module common 

Source
Expand description

Common definitions and macros for SPMI registers.

This module contains the underlying traits, generic structs, and macros used to construct register layouts and blocks.

Structs§

ReadOnly
Marker struct representing Read-Only register access.
ReadWrite
Marker struct representing Read-Write register access.
WriteOnly
Marker struct representing Write-Only register access.
_Register
A generic register accessor.

Traits§

Readable
Trait implemented by access modes that allow reading.
RegisterValue
Trait for types that can represent a register’s value.
SpmiDevice
Trait for SPMI devices to abstract register read/write operations.
Writable
Trait implemented by access modes that allow writing.