Crate safe_mmio

Source
Expand description

Types for safe MMIO device access, especially in systems with an MMU.

Modules§

fields
Wrapper types for MMIO fields.

Macros§

field
Gets a UniqueMmioPointer to a field of a type wrapped in a UniqueMmioPointer.
field_shared
Gets a SharedMmioPointer to a field of a type wrapped in a SharedMmioPointer.
split_fields
Gets UniqueMmioPointers to several fields of a type wrapped in a UniqueMmioPointer.

Structs§

PhysicalInstance
The physical instance of some device’s MMIO space.
SharedMmioPointer
A shared pointer to the registers of some MMIO device.
UniqueMmioPointer
A unique owned pointer to the registers of some MMIO device.