/* Check if a row is a full row because the page is a invalid page, so if two pages have data, it is the full row.  */
static bool _rww_eeprom_emulator_is_full_row(uint16_t phy_page)
/* Check if a row is a full row because the page is a invalid page, so if two pages have data, it is the full row.  */
static bool _rww_eeprom_emulator_is_full_row(uint16_t phy_page)
{
	if (CONF_LOGICAL_PAGE_NUM_IN_ROW == RWWEE_LOGICAL_PAGE_NUM_1) {
		if(_eeprom_instance.rwwee_addr[phy_page].header.logical_page
			== _eeprom_instance.rwwee_addr[phy_page+1].header.logical_page) {
			return true;
		} else {
			return false;
		}
	} else {
		if((_eeprom_instance.rwwee_addr[phy_page].header.logical_page
			== _eeprom_instance.rwwee_addr[phy_page+2].header.logical_page)
			|| (_eeprom_instance.rwwee_addr[phy_page+1].header.logical_page
			== _eeprom_instance.rwwee_addr[phy_page+2].header.logical_page )) {
			return true;
		} else {
			return false;
		}
	}
}