/* The function is synchronous and does not return until the erase operation has completed. */
uint32_t EEPROMMassErase(void)
/* The function is synchronous and does not return until the erase operation has completed. */
uint32_t EEPROMMassErase(void)
{
    if(CLASS_IS_BLIZZARD && REVISION_IS_A0)
    {
        _EEPROMSectorMaskClear();
    }
    HWREG(EEPROM_EEDBGME) = EEPROM_MASS_ERASE_KEY | EEPROM_EEDBGME_ME;
    _EEPROMWaitForDone();
    SysCtlPeripheralReset(SYSCTL_PERIPH_EEPROM0);
    SysCtlDelay(2);
    _EEPROMWaitForDone();
    return(HWREG(EEPROM_EEDONE));
}