TftBmpFlashPageWrite(dwAddress As Dword)
dwAddress: The page number where the page buffer will be written.
This function will write a RAM page array buffer internally declared as bMemPageArray[MEM_PAGE_SIZE] As Byte to memory page position dwAddress.
In FLASH memory, data is typically written in entire pages, not as individual bytes. The page sizes vary depending on the FLASH IC, with common sizes being 64, 128, 256, or 512 bytes. Refer to the IC's datasheet to determine the exact page size.
The data to be written is stored in a global shared byte array with a size of MEM_PAGE_SIZE. After the TftBmpMemSet() command is issued, this page array becomes accessible and can be used to store information that will be written to memory using the TftBmpFlashPageWrite() command.
The actual byte positions that will be erased during a write operation are from dwAddress * MEM_PAGE_SIZE to [(dwAddress + 1) * MEM_PAGE_SIZE] - 1
Example:
TftBmpFlashPageWrite(310)
Created with the Personal Edition of HelpNDoc: Easily create Help documents