opentitanlib::test_utils::mem

Type Alias MemReadReq

Source
pub type MemReadReq = mem_read_req_t;

Aliased Type§

struct MemReadReq {
    pub address: u32,
    pub data_len: u16,
}

Fields§

§address: u32§data_len: u16

Implementations§

Source§

impl MemReadReq

Source

pub fn execute<T>(device: &T, start_address: u32, data: &mut [u8]) -> Result<()>
where T: ConsoleDevice + ?Sized,