PCWHD IDE COMPILER Custom Computer Services Inc (CCS), PCWHD IDE COMPILER Datasheet - Page 148

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
Examples:
Example Files:
Also See:
#SERIALIZE
Syntax:
Elements:
134
#separate ARG=W0:W7 AVOID=W8:W15 DND=W8:W15
swapbyte (int *a, int *b) {
int t;
}
ex_cust.c
#INLINE
#SERIALIZE(id=xxx, next="x" | file="filename.txt" " | listfile="filename.txt",
"prompt="text", log="filename.txt") -
Or-#SERIALIZE(dataee=x, binary=x, next="x" | file="filename.txt" |
listfile="filename.txt", prompt="text", log="filename.txt")
id=xxx - Specify a C CONST identifier, may be int8, int16, int32 or char array
Use in place of id parameter, when storing serial number to EEPROM:
dataee=x - The address x is the start address in the data EEPROM.
binary=x - The integer x is the number of bytes to be written to address specified. -
or-
string=x - The integer x is the number of bytes to be written to address specified.
Use only one of the next three options:
file="filename.txt" - The file x is used to read the initial serial number from, and this
file is updated by the ICD programmer. It is assumed this is a one line file with the
serial number. The programmer will increment the serial number.
listfile="filename.txt" - The file x is used to read the initial serial number from, and this
file is updated by the ICD programmer. It is assumed this is a file one serial number per
line. The programmer will read the first line then delete that line from the file.
next="x" - The serial number X is used for the first load, then the hex file is updated
to increment x by one.
Other optional parameters:
prompt="text" - If specified the user will be prompted for a serial number on each
load. If used with one of the above three options then the default value the user may
use is picked according to the above rules.
log=xxx - A file may optionally be specified to keep a log of the date, time, hex file
name and serial number each time the part is programmed. If no id=xxx is specified
then this may be used as a simple log of all loads of the hex file.
t=*a;
*a=*b;
*b=t;

Related parts for PCWHD IDE COMPILER