pub struct FlashStorage { /* private fields */ }
Implementations§
Source§impl FlashStorage
impl FlashStorage
pub const WORD_SIZE: u32 = 4u32
pub const SECTOR_SIZE: u32 = 4_096u32
pub fn new() -> FlashStorage
Trait Implementations§
Source§impl Debug for FlashStorage
impl Debug for FlashStorage
Source§impl Default for FlashStorage
impl Default for FlashStorage
Source§impl ErrorType for FlashStorage
impl ErrorType for FlashStorage
Source§type Error = FlashStorageError
type Error = FlashStorageError
Errors returned by this NOR flash.
Source§impl NorFlash for FlashStorage
impl NorFlash for FlashStorage
Source§const WRITE_SIZE: usize = 4usize
const WRITE_SIZE: usize = 4usize
The minumum number of bytes the storage peripheral can write
Source§const ERASE_SIZE: usize = 4_096usize
const ERASE_SIZE: usize = 4_096usize
The minumum number of bytes the storage peripheral can erase