Function

    nuEepromRead

Syntax

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

Arguments

- address is the EEPROM address from which to read data

- *buffer is the pointer to buffer for storing the data

- len is the length of data

Return Value

- 0: Normal termination

- -1: Address is incorrect or the EEPROM Manager is not registered

- CONT_NO_RESPONSE_ERROR: The interface does not respond

Explanation
Reads out data from EEPROM

Reads data from the specified "address" in EEPROM and stores it in the specified "buffer." The length of the data is specified by "len." The specified "address" is 0-63 for 4K EEPROM and 0-255 for 16K EEPROM, and len*8 bytes of data are read.

See Also
nuEepromMgrInit
nuEepromCheck
nuEepromWrite