_write_flash_word32 Function

Write two words of FLASH memory with 16 bits of data per word. The 16 bits are written to the low 16 bits of the word. Word writes are supported dsPIC33E and PIC24E devices. The row address is specified with type _prog_addressT. Note that the location must be erased before any write can be successful.

This function is currently disabled for devices subject to the Device ID errata as described in DS-80444, DS-80446, or DS-80447 (#32).

Include

<libpic30.h>

Prototype

void _write_flash_word32(_prog_addressT dst, int dat1, int dat2);

Arguments

dst destination memory address
dat1,dat2 integer data to be written

Return Value

None.

Remarks

None.

Default Behavior

Write two words of Flash memory with 16-bit data for most dsPIC33E/PIC24E devices.

File

flash_helper.c