EE_PageTransfer() function
Transfers last updated variables data from the full Page to an empty one.
Arguments
VirtAddress
16 bit virtual address of the variable
Data
16 bit data to be written as variable value
Return value
Success or error status: - FLASH_COMPLETE: on success - PAGE_FULL: if valid page is full - NO_VALID_PAGE: if no valid page was found - Flash error code: on write Flash error