opentitanlib::test_utils::spi_passthru

Type Alias SpiFlashWrite

Source
pub type SpiFlashWrite = spi_flash_write_t;

Aliased Type§

struct SpiFlashWrite {
    pub address: u32,
    pub addr4b: bool,
    pub data: ArrayVec<u8, 256>,
    pub length: u16,
}

Fields§

§address: u32§addr4b: bool§data: ArrayVec<u8, 256>§length: u16

Implementations§

Source§

impl SpiFlashWrite

Source

pub fn execute(&self, uart: &dyn Uart) -> Result<()>