PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 252

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
read_rom_memory( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
realloc( )
Syntax:
Parameters:
Returns:
Function:
238
realloc (ptr, size)
ptr is a null pointer or a pointer previously returned by calloc or malloc or realloc
function, size is an integer representing the number of byes to be allocated.
A pointer to the possibly moved allocated memory, if any. Returns null otherwise.
The realloc function changes the size of the object pointed to by the ptr to the size
specified by the size. The contents of the object shall be unchanged up to the
lesser of new and old sizes. If the new size is larger, the value of the newly
allocated space is indeterminate. If ptr is a null pointer, the realloc function
behaves like malloc function for the specified size. If the ptr does not match a
pointer earlier returned by the calloc, malloc or realloc, or if the space has been
deallocated by a call to free or realloc function, the behavior is undefined. If the
space cannot be allocated, the object pointed to by ptr is unchanged. If size is zero
and the ptr is not a null pointer, the object is to be freed.
READ_ROM_MEMORY (address, dataptr, count );
address is 32 bits. The least significant bit should always be 0.
dataptr is a pointer to one or more bytes.
count is a 16 bit integer
undefined
Reads count bytes from program memory at address to dataptr. Due to the 24
bit program instruction size on the PCD devices, three bytes are read from each
address location.
Only devices that allow reads from program memory.
Nothing
char buffer[64];
read_program_memory(0x40000, buffer, 64);
None
write_eeprom(), read_eeprom(),
Program eeprom overview

Related parts for PCDIDE COMPILER