I-7188XA Series User’s Manual ( Ver1.2, Feb/2014, 7MH-019-10 ) ---
112
Block: 0 to 7 (a total of 8 blocks).
Addr: 0 to 255 (each block can contain 256 bytes).
no: 1 to 16
Data: The start address of buffer that the data is stored.
Return Value: On success, returns NoError.
On error, returns -1. It is say EEPROM is busy, Block is
invalid or Addr is invalid.
Example: Please refer to “EE_WriteEnable()” for an example.
EE_WriteProtect ()
Function: Sets the EEPROM to write-protect mode
Syntax:
void
EE_WriteProtect
(void);
Header:
#include ”7188xa.h”
Description: Sets the EEPROM to write-protect mode. The EEPROM
is in write-protect mode by default. EE_WriteEnable()
must be called before writing data to the EEPROM. After
writing the data, it is recommended that EE_WriteProtect
() be called to return the EEPROM to write-protect mode.
Example: Please refer to “EE_WriteEnable()” for an example.
EE_MultiRead ()
Function: Reads data from the EEPROM
Syntax:
int EE_MultiRead(int StartBlock,unsigned
StartAddr,int no,char *databuf);
Header:
#include ”7188xa.h”
Description: Reads multi-byte data from the EEPROM.
StartBlock: 0 to 7 (a total of 8 blocks).
StartAddr: 0 to 255 (each block can contain 256 bytes).
no: 1 to 2048
databuf: The address to store data
Return Value: On success, returns NoError.
On error, returns -1. It is say EEPROM is busy, Block is
invalid or Addr is invalid.
Example: Please refer to “EE_WriteEnable()” for an example.
Содержание I-7188XA
Страница 62: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 62 5 6 COM1 RS 232 1 2 232...
Страница 90: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 90 1 2...
Страница 140: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 140...
Страница 146: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 146 Step 8 Make the project...
Страница 153: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 153 Step 8 Rebuild the project...
Страница 158: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 158...
Страница 161: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 161 Below snap shots are steps for install TC 3 0...
Страница 162: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 162...
Страница 164: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 164...