pub trait MemoryRead {
    fn read_raw(&self, range: Range<usize>) -> MemoryResult<&[u8]>;
    fn access_right<T: Register>(&self) -> AccessRight;
    fn read<T: Register>(&self) -> MemoryResult<T::Ty>;
}

Required Methods

Read data from the register. Since the host side know nothing about Register, this method can be called only from the machine side so access rights are temporarily set to RW.

Implementors