pub trait Io {
    type Value: Copy + BitAnd<Output = Self::Value> + BitOr<Output = Self::Value> + Not<Output = Self::Value>;

    fn read(&self) -> Self::Value;
    fn write(&mut self, value: Self::Value);
}
Expand description

An interface for dealing with device address space access.

Required Associated Types

The type of object to access.

Required Methods

Reads value from device.

Writes value to device.

Implementors

Read/Write for byte PMIO.

Read/Write for word PMIO.

Read/Write for double-word PMIO.