Erases a single sector in System Flash memory. The sector to erase is determined based on the provided address. Any address within the sector will specify that the entire sector be erased. The sector specified must be in the acceptable range for the user area of Flash memory for the device. See the device User's Manual for Flash memory layout details.
Byte address within the sector to erase.
Retrieves the layout of the flash memory.
Reads data from System Flash memory starting at the specified address. The address and length must both be integer multiples of the System Flash page size.
Byte address to begin read operation.
Length of data to read in bytes.
The buffer to store the data that is read.
Writes data to System Flash memory starting at the specified address. The address and length must both be integer multiples of the System Flash page size. This method will not erase the sector prior to writing. You must use eraseSector to erase a sector prior to writing.
Byte address to begin write operation.
Length of data to write in bytes.
The buffer containing the data to write.
Interface that provides the methods that may be used to interact with flash memory.