1.10.9.3 EEPROM_PageErase Function

C

bool EEPROM_PageErase( uint32_t addr )

Summary

Erases one word in data EEPROM

Description

Erases one word in data EEPROM

Precondition

None

Parameters

Param Description
addr start address of the word to be erased

Returns

Returns true on success false on error

Example

uint32_t i;
uint32_t addr = 0;

for ( i = 0; i < 4; i++ )
{
    result = EEPROM_PageErase( addr );
    if (result == true)
    {
        addr = addr + 4;
    }
}