pub trait Read {
    type NativeType;
    fn read_native(&self, address: usize, array: &mut [Self::NativeType]);
    fn read(&self, address: usize, buf: &mut [u8]);
}

Associated Types

Native type of the flash for reading with the correct alignment of the memory and size

Can be u8, u16, u32, …, or any user defined type

Required methods

Read from the flash memory using the native interface

Read a buffer of bytes from memory

Implementors