PCD COMMAND LINE COMPILER Custom Computer Services Inc (CCS), PCD COMMAND LINE COMPILER Datasheet - Page 224

PCD C-COMPILER PIC24, DSPIC

PCD COMMAND LINE COMPILER

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

Specifications of PCD COMMAND LINE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1007
make16( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
make32( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
210
i16 = MAKE16(varhigh, varlow)
varhigh and varlow are 8 bit integers.
A 16 bit integer
Makes a 16 bit number out of two 8 bit numbers. If either parameter is 16 or 32 bits
only the lsb is used. Same as: i16 = (int16)(varhigh&0xff)*0x100+(varlow&0xff)
except it is done with two byte moves.
All devices
Nothing
long x;
int hi,lo;
x = make16(hi,lo);
ltc1298.c
make8(),
i32 = MAKE32(var1, var2, var3, var4)
var1-4 are a 8 or 16 bit integers. var2-4 are optional.
A 32 bit integer
Makes a 32 bit number out of any combination of 8 and 16 bit numbers. Note that
the number of parameters may be 1 to 4. The msb is first. If the total bits provided
is less than 32 then zeros are added at the msb.
All devices
Nothing
make32()

Related parts for PCD COMMAND LINE COMPILER