pub struct FlashRegion<'a, F> { /* private fields */ }
Expand description
A flash region is a “view” into the partition.
It allows to read and write to the partition without the need to account for the partition offset.
Trait Implementations§
Source§impl<'a, F: Debug> Debug for FlashRegion<'a, F>
impl<'a, F: Debug> Debug for FlashRegion<'a, F>
Source§impl<F> ErrorType for FlashRegion<'_, F>
impl<F> ErrorType for FlashRegion<'_, F>
Source§impl<'a, F> Format for FlashRegion<'a, F>
impl<'a, F> Format for FlashRegion<'a, F>
Source§impl<F> NorFlash for FlashRegion<'_, F>where
F: NorFlash,
impl<F> NorFlash for FlashRegion<'_, F>where
F: NorFlash,
Source§const WRITE_SIZE: usize = F::WRITE_SIZE
const WRITE_SIZE: usize = F::WRITE_SIZE
The minumum number of bytes the storage peripheral can write
Source§const ERASE_SIZE: usize = F::ERASE_SIZE
const ERASE_SIZE: usize = F::ERASE_SIZE
The minumum number of bytes the storage peripheral can erase
Source§impl<F> ReadNorFlash for FlashRegion<'_, F>where
F: ReadNorFlash,
impl<F> ReadNorFlash for FlashRegion<'_, F>where
F: ReadNorFlash,
Source§const READ_SIZE: usize = F::READ_SIZE
const READ_SIZE: usize = F::READ_SIZE
The minumum number of bytes the storage peripheral can read