I-7188XA Series User’s Manual ( Ver1.2, Feb/2014, 7MH-019-10 ) ---
119
Note
: When writing data to the Flash memory, the data bit only can
be changed from 1 to 0 and cannot be written from “0” to “1”.
FlashWrite() does not check the status, and just writes the data. If an
attempt is made to change the data from 0 to 1, a TimeoutError will
occur. After calling FlashErase() data can be written again.
FlashRead()
Function: Reads one byte of data from the Flash memory.
Syntax:
int FlashRead(unsigned int seg, unsigned int offset);
Header:
#include ”7188xa.h”
Description: seg: 0-65535(0xffff).
offset: 0 to 65535(0xffff).
Return Value: FlashRead() only returns the value of the address.
seg:offset. The address can be from the SRAM, the
Flash memory or another address (generally returns
0xff).
Example: Please refer to “FlashWrite()” function for more detailed
information.
Summary of Contents for I-7188XA
Page 62: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 62 5 6 COM1 RS 232 1 2 232...
Page 90: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 90 1 2...
Page 140: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 140...
Page 146: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 146 Step 8 Make the project...
Page 153: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 153 Step 8 Rebuild the project...
Page 158: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 158...
Page 162: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 162...
Page 164: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 164...