Struct rsim::processor::elements::memory::IOMemory [−][src]
I/O Memory Defines an address range of a single u32. Reads from this address return 0, Writes to this address throw ProgramHaltedException::ResultReturned.
Fields
range: Range<usize>
value: Option<u64>
halt_on_write: bool
Implementations
impl IOMemory
[src]
impl IOMemory
[src]pub fn return_address(addr: usize, halt_on_write: bool) -> IOMemory
[src]
Build an I/O memory with the specified address
Trait Implementations
impl Memory<u64> for IOMemory
[src]
impl Memory<u64> for IOMemory
[src]