Function spiflash_write

Source
pub unsafe fn spiflash_write(
    dest_addr: u32,
    data: *const u32,
    len: u32,
) -> Result<(), i32>
Expand description

Low-level SPI NOR Flash write

ยงSafety

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