_write_flash_word24 Function

Write a word of Flash memory with 24-bit data. Note that the word must be erased before any write can be successful. This function is currently available only for PIC24F devices (excluding PIC24FXXKA MCUs).

Include

<libpic30.h>

Prototype

void _write_flash_word24(_prog_addressT dst, long dat);

Arguments

dst destination memory address
dat integer data to be written

Return Value

None.

Remarks

None.

Default Behavior

Write a word of Flash memory with 24-bit data for most PIC24 devices.

File

flash_helper.c