_write_flash_word48 Function

Write two words of FLASH memory with 24 bits of data per word. Word writes are supported 33E and 24E 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_word48(_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 48-bit data for most dsPIC33E/PIC24E devices.

File

flash_helper.c