opentitanlib::test_utils::spi_passthru

Type Alias SpiMailboxWrite

Source
pub type SpiMailboxWrite = spi_mailbox_write_t;

Aliased Type§

struct SpiMailboxWrite {
    pub offset: u16,
    pub length: u16,
    pub data: ArrayVec<u8, 256>,
}

Fields§

§offset: u16§length: u16§data: ArrayVec<u8, 256>

Implementations§

Source§

impl SpiMailboxWrite

Source

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