opentitanlib::test_utils::spi_passthru

Type Alias SpiFlashReadId

Source
pub type SpiFlashReadId = spi_flash_read_id_t;

Aliased Type§

struct SpiFlashReadId {
    pub device_id: u16,
    pub manufacturer_id: u8,
    pub continuation_len: u8,
}

Fields§

§device_id: u16§manufacturer_id: u8§continuation_len: u8

Implementations§

Source§

impl SpiFlashReadId

Source

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