User manual

mikroBasic PRO for PIC32
MikroElektronika
295
Flash_Write_Word
Prototype
sub procedure FLASH_Erase32(dim ash_address as longint)
Description Writes one 32-bit word in the program Flash memory on the designated address.
Parameters - address: address of the FLASH memory word
- wdata: data to be written
Returns Nothing.
Requires Nothing.
Example
Notes None.
Flash_Write_Row
Prototype
sub procedure FLASH_Write_Block(dim ash_address as longint, dim data_
address as word)
Description Writes one row in the program Flash memory (128 32-bit words or 512 bytes) on the designated
address.
Parameters - address: address of the FLASH memory word
- rdata: data to be written
Returns Nothing.
Requires Nothing.
Example
Notes None.
Flash_Erase_Page
Prototype
sub procedure FLASH_Write_Init(dim ash_address as longint, dim data_address
as word)
Description Erases one page (8 rows, 1024 32-bit word, 4096 bytes) from the program Flash memory.
Parameters - address: starting address of the FLASH memory block
Returns Nothing.
Requires Nothing.
Example
Notes None.