4.7.9 _strncpy_p2d16 Function
Copy 16 bits of data from each address in program memory to data memory. The operation terminates early if a NULL char is copied. The next unused source address is returned.
Include
<libpic30.h>
Prototype
_prog_addressT _strncpy_p2d16(char *dest, _prog_addressT
src, unsigned int len);
Arguments
dest |
destination memory address |
src |
address of data to be written |
len |
length of program memory |
Return Value
The next unused source address.
Remarks
None.
Default Behavior
Copy 16 bits of data from each of the len
bytes of addresses
of src
to the destination pointed to by the dest
pointer.
File
memcpy_helper.s