SW006013 Microchip Technology, SW006013 Datasheet - Page 207

MPLAB C Compiler For DsPIC DSCs

SW006013

Manufacturer Part Number
SW006013
Description
MPLAB C Compiler For DsPIC DSCs
Manufacturer
Microchip Technology
Series
DsPIC30F/33Fr
Type
MPLAB® C Compilerr
Datasheet

Specifications of SW006013

Supported Families
DsPIC30F, DsPIC33F
Core Architecture
DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
DsPIC30F And DsPIC33F
Tool Function
Compiler
Tool Type
Compiler
Processor Series
dsPIC
Lead Free Status / RoHS Status
na
For Use With/related Products
dSPIC DSCs
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 SW006013