Skip to main content

Module io

Module io 

Source
Expand description

Memory-mapped IO.

C header: include/asm-generic/io.h

Re-exports§

pub use resource::Resource;

Modules§

mem
Generic memory-mapped IO.
poll
IO polling.
register
Macro to define register layout and accessors.
resource
Abstractions for system resources.

Macros§

register
Defines a dedicated type for a register, including getter and setter methods for its fields and methods to read and write it from an Io region.

Structs§

Mmio
IO-mapped memory region.
MmioRaw
Raw representation of an MMIO region.
RelaxedMmio
Mmio wrapper using relaxed accessors.

Traits§

Io
Types implementing this trait (e.g. MMIO BARs or PCI config regions) can perform I/O operations on regions of memory.
IoCapable
Trait indicating that an I/O backend supports operations of a certain type and providing an implementation for these operations.
IoKnownSize
Trait for types with a known size at compile time.
IoLoc
Describes a given I/O location: its offset, width, and type to convert the raw value from and into.

Type Aliases§

PhysAddr
Physical address type.
ResourceSize
Resource Size type.