4.6.4 _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 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:
- dsPIC33FJXXXGPX06/X08/X10 Family Silicon Errata and Data Sheet Clarification (DS-80000446)
- dsPIC33FJXXXMCX06/X08/X10 Family Silicon Errata and Data Sheet Clarification (DS-80000447)
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 devices.
File
flash_helper.c