SW006014 Microchip Technology, SW006014 Datasheet - Page 207

C COMPILER MPLAB FOR PIC24 MCU

SW006014

Manufacturer Part Number
SW006014
Description
C COMPILER MPLAB FOR PIC24 MCU
Manufacturer
Microchip Technology
Type
MPLAB® C Compilerr
Series
PIC24r
Datasheet

Specifications of SW006014

Supported Families
PIC24
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24
Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC24
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
4.8
© 2008 Microchip Technology Inc.
FUNCTIONS FOR SPECIALIZED COPYING AND INITIALIZATION
#if defined (__dsPIC30F__)
#else
#endif
}
These functions support specialized data copying and initialization.
_memcpy_p2d16
Description:
Include:
Prototype:
Argument:
Return Value:
Remarks:
Default Behavior:
File:
_memcpy_p2d24
Description:
Include:
Prototype:
Argument:
Return Value:
Remarks:
Default Behavior:
File:
}
_init_prog_address(p, dat);
_erase_flash(p);
_write_flash16(p, source1);
_erase_flash(p);
p.next += (_FLASH_ROW * 2);
_write_flash24(p, source2);
Copy 16 bits of data from each address in program memory to data
memory. The next unused source address is returned.
<libpic30.h>
_prog_addressT _memcpy_p2d16(char *dest,
*dest
src
len
The next usused source address.
None.
Copy 16 bits of data from each address in program memory to data
memory.
_memcpy_p2d16.c
Copy 24 bits of data from each address in program memory to data
memory. The next unused source address is returned.
<libpic30.h>
_prog_addressT _memcpy_p2d24(char *dest,
*dest
src
len
The next usused source address.
None.
Copy 24 bits of data from each address in program memory to data
memory.
_memcpy_p2d24.c
_prog_addressT src, unsigned int len);
_prog_addressT src, unsigned int len);
pointer to destination memory address
address of data to be written
length of program memory
pointer to destination memory address
address of data to be written
length of program memory
/* initialize some data */
/* get address in program space */
/* erase a page */
/* write first row with 16-bit data */
/* on dsPIC30F, only 1 row per page */
/* advance to next row */
/* write second row with 24-bit data */
DS51456E-page 203

Related parts for SW006014