1.12.9.1 EEPROM_WordWrite Function

C

bool EEPROM_WordWrite( uint32_t addr, uint32_t data )

Summary

Writes one word to data EEPROM

Description

Writes one word to data EEPROM

Precondition

None

Parameters

Param Description
addr Address of data EEPROM to write the data word to
data data to be written to EEPROM

Returns

Returns true on success false on error

Example

uint32_t i;
uint32_t writeData[4];
uint32_t addr = 0;

for ( i = 0; i < 4; i++ )
{
    result = EEPROM_WordWrite( addr, writeData[i] );
    if (result == true)
    {
        addr = addr + 4;
    }
}