opentitanlib::test_utils::mem

Type Alias MemWriteReq

Source
pub type MemWriteReq = mem_write_req_t;

Aliased Type§

struct MemWriteReq {
    pub address: u32,
    pub data: ArrayVec<u8, 256>,
    pub data_len: u16,
}

Fields§

§address: u32§data: ArrayVec<u8, 256>§data_len: u16

Implementations§

Source§

impl MemWriteReq

Source

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