Function spiflash_read

Source
pub unsafe fn spiflash_read(
    src_addr: u32,
    data: *mut u32,
    len: u32,
) -> Result<(), i32>
Expand description

Low-level SPI NOR Flash read

ยงSafety

The src_addr + len should not exceeds the size of flash. The data expected to points to word-aligned pre-allocated buffer with size greater or equals to len.