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
”7188xc.h”
Description: seg: 0xC000, 0xD000 or 0xE000.
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.
I-7188XC Series User’s Manual(Ver.1.0, Apr/2007,7MH-21-10) ---
115
Содержание I-7188XC Series
Страница 87: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 87...
Страница 136: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 136...
Страница 142: ...Step 8 Make the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 142...
Страница 149: ...Step 8 Rebuild the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 149...