EE_VerifyPageFullWriteVariable() function
Verify if active page is full and Writes variable in EEPROM.
Syntax
static uint16_t EE_VerifyPageFullWriteVariable(uint16_t VirtAddress,
uint16_t Data);
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