AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/ports/xplained/ASF/xmega/drivers/nvm/nvm.c
void nvm_eeprom_erase_bytes_in_all_pages(void)
{
    // Wait until NVM is ready
    nvm_wait_until_ready();

    // Issue EEPROM Erase All command
    nvm_issue_command(NVM_CMD_ERASE_EEPROM_gc);
}
/**
 * \brief Erase bytes from all EEPROM pages.
 *
 * This function erases bytes from all EEPROM pages, so that every location
 * written to in the page buffer reads 0xFF.
 */
\brief Erase bytes from all EEPROM pages.
This function erases bytes from all EEPROM pages, so that every location
written to in the page buffer reads 0xFF.
\ brief Erase bytes from all EEPROM pages . This function erases bytes from all EEPROM pages so that every location written to in the page buffer reads 0xFF .
void nvm_eeprom_erase_bytes_in_all_pages(void)
{
    nvm_wait_until_ready();
    nvm_issue_command(NVM_CMD_ERASE_EEPROM_gc);
}
void nvm_eeprom_erase_bytes_in_all_pages ( void ) { nvm_wait_until_ready ( ) ; nvm_issue_command ( NVM_CMD_ERASE_EEPROM_gc ) ; }
\brief Erase bytes from all EEPROM pages.
\ brief Erase bytes from all EEPROM pages .
// Wait until NVM is ready // Issue EEPROM Erase All command