User manual

Table Of Contents
mikroC PRO for PIC32
MikroElektronika
323
Flash_Write_Word
Prototype
void Flash_Write_Word(unsigned long address, unsigned long wdata);
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
void Flash_Write_Row(unsigned long address, unsigned long *rdata);
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
void Flash_Erase_Page(unsigned long address);
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.