I-7188XA Series User’s Manual ( Ver1.2, Feb/2014, 7MH-019-10 ) ---
67
For example: To write data to EEPROM block1, address 10, first call the
EE_WriteEnable()
function . The code is shown below.
Note:
To write an integer to EEPROM, the
EE_WriteEnable()
function
must be called twice, in the same manner as writing data to NVRAM.
Refer to the demo programs in the
CD:\Napdos\7188XABC\7188XA\Demo\BC_TC\Memory folder for more
information.
int data=0x55, data2;
InitLib(); /* Initiate the 7188xa library */
EE_WriteEnable();
EE_MultiWrite(1, 10, 1, &data);
EE_WriteProtect();
EE MultiRead(1, 10, 1, &data2); /* now data2=data=0x55 */
Содержание 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...