Function


nuEepromCheck


Syntax

s32 nuEepromCheck(void)

Arguments

None

Return Value

 EEPROM_TYPE_4K --> 4Kbit EEPROM

EEPROM_TYPE_16K --> 16Kbit EEPROM

              0 --> No EEPROM 

             -1 --> The EEPROM Manager is not registered 

Description

Checks the status of an EEPROM

Checks to see whether there is any EEPROM. If so, it checks the type. The return values are EEPROM_TYPE_4K if it is a 4Kbit type, and EEPROM_TYPE_16K if it is a 16Kbit type of EEPROM. If the return value is 0, that means there is no EEPROM. If the EEPROM Manager is not registered, the return value is -1.

See Also

nuEepromMgrInit, nuEepromRead, and nuEepromWrite