Elo
®
Tablet NFC Reader Application Note
ES601068 Rev A, Page 18 of 23
EEPROM
1. EloWriteEpr(unsigned int Data);
Description: Write 1 byte to 1 location of 1 specific segment
IN: Byte0 of Data is segment
Byte1 of Data is offset
Byte2 of Data is byte of data
Successful Return value: STATUS_OK (0)
2. EloPreReadEpr(unsigned short Data);
Description: Tell EC the detailed EEPROM location to read data out. This API has to be
called together with the following API EloReadEpr.
IN: Byte0 of Data is segment
Byte1 of Data is offset
Successful Return value: STATUS_OK (0)
3. EloReadEpr(unsigned short *pData);
Description: Read 1 byte of data out from EEPROM. This API has to be called together
with the above API EloPreReadEpr().
OUT: pData will save the data read out from EEPROM
Successful Return value: STATUS_OK (0)
4. EloGetMotherBoardSerialNumber_DW0(unsigned int *pSerialNumDw0);
Description: Retrieve the MotherBoard serial number lower 4 bytes.
OUT: The lower 4 bytes will be saved in pSerialNumDw0.
Successful Return value: STATUS_OK (0)