Offset into flash, in bytes, to start the erase. Must be aligned to a 4096-byte flash sector.
count
Number of bytes to be erased. Must be a multiple of 4096 bytes (one sector).
Notes
Erasing a flash sector sets all the bits in all the pages in that sector to one. You can then "program" flash pages in the sector to turn some of the bits to zero. Once a bit is set to zero it can only be changed back to one by erasing the whole sector again.
Examples
flash_range_erase() is referenced by 2 libraries and example projects: