/* Read the beginning address of the last written data.  */
void* exFLASH_ReadEE(u32 page_address, u16 len)
/* Read the beginning address of the last written data.  */
void* exFLASH_ReadEE(u32 page_address, u16 len)
{
    u16* ptr = exFLASH_Locate(page_address, len);
    return (ptr == 0) ? 0 : (ptr - len / 2);
}