Function


nuEepromWrite


Syntax

s32 nuEepromWrite(u8 address, u8* buffer, u16 len)

Arguments

address      EEPROM address where data is to be written 
*buffer      pointer to buffer where the data is stored
len          length of data

Return Value

                     0 --> Normal termination 

                    -1 --> Address is out of range or the 
                            EEPROM Manager is not registered 

CONT_NO_RESPONSE_ERROR --> The interface does not respond

Description

Writes data to an EEPROM

Writes data from the specified "buffer" to the specified "address" in an EEPROM. The specified "address" is 0-63 for 4K EEPROM and 0-255 for 16K EEPROM, and len bytes of data are read.

See Also

nuEepromMgrInit, nuEepromCheck, and nuEepromRead