Trait MemoryBlock32be

Source
pub trait MemoryBlock32be: MemoryBlock {
    // Provided methods
    fn set32be(&mut self, addr: Addr, data: u32) -> Result<(), Error> { ... }
    fn get32be(&self, addr: Addr) -> Result<u32, Error> { ... }
}
Expand description

Subtrait for 32 bit big-endian interface

Provided Methods§

Source

fn set32be(&mut self, addr: Addr, data: u32) -> Result<(), Error>

Set a 32 bit value (4 bytes) in Big Endian format.

Source

fn get32be(&self, addr: Addr) -> Result<u32, Error>

Get a 32 bit value (4 bytes) stored in Big Endian format.

Implementors§