pub fn flash_sectors(
    flash_size: usize,
    dual_bank: bool
) -> impl Iterator<Item = FlashSector>
Expand description

Returns iterator of flash memory sectors for single and dual bank flash. Sectors are returned in continuous memory order, while sector numbers can have spaces between banks.