Rockwell Automation 2727-MRSDK MobileView Terminals Software Development Kit User Manual User Manual
Page 40
![background image](/manuals/580134/40/background.png)
Publication 2727-UM004B-EN-P - February 2004
4-16 SDK (Software Development Kit) for MobileView Terminals
KtpGetEEPromData
KtpWriteByteToEEProm
KtpReadByteToEEProm
Table 4.35
Declaration:
Visual C:
UINT8 KtpGetEEPromData(/*out*/TEEPromData *data);
Visual Basic:
not implemented.
Description:
Reads data from the EEProm.
Arguments:
TEEPromData data: data structure for the data contained in the
EEProm
Table 4.36
Declaration:
Visual C:
UINT8 KtpWriteByteToEEProm (/*in*/UINT16 addr, UINT8 data);
Visual
Basic:
KtpWriteByteToEEProm (ByVal addr As Integer, ByVal data As Byte) As
Byte;
Description:
Writes a byte to the EEProm location transferred in addr.
Arguments:
UINT16 addr: address of memory location
UINT8 data: data for saving
Table 4.37
Declaration:
Visual C:
UINT8 KtpReadByteToEEProm (/*in*/UINT16 addr, /*out*/ UINT8 *pData);
Visual
Basic:
KtpWriteByteToEEProm (ByVal addr As Integer, ByRef pData as Byte) As
Byte;
Description:
Reads a byte from the EEProm location transferred in addr.
Arguments:
UINT16 addr: address of memory location
UINT8 *pData: data from the EEProm