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

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
#DEFINEDINC
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
_DEVICE_
Syntax:
Elements:
Purpose:
Examples:
Example Files:
Also See:
__DEVICE__
None
This pre-processor identifier is defined by the compiler with the base number of the
current device (from a #DEVICE). The base number is usually the number after the
C in the part number. For example the PIC16C622 has a base number of 622.
#if __device__==71
SETUP_ADC_PORTS( ALL_DIGITAL );
#endif
None
#DEVICE
value = definedinc( variable );
variable is the name of the variable, function, or type to be checked.
A C status for the type of id entered as follows:
0 – not known
1 – typedef or enum
2 – struct or union type
3 – typemod qualifier
4 – function prototype
5 – defined function
6 – compiler built-in function
7 – local variable
8 – global variable
This function checks the type of the variable or function being passed in and
returns a specific C status based on the type.
All devices
None.
int x, y = 0;
y = definedinc( x );
None
None
// y will return 7 – x is a local variable
109

Related parts for PCWHD IDE COMPILER