PCD
Also See:
_DATE_
Syntax:
Elements:
Purpose:
Examples:
Example
Files:
Also See:
#DEFINE
Syntax:
Elements:
Purpose:
None
__DATE__
None
This pre-processor identifier is replaced at compile time with the date of the comp ile in
the form: "31-JAN-03"
printf("Software was compiled on ");
printf(__DATE__);
None
None
#DEFINE id text
or
#DEFINE id ( x , y ...) text
id is a preprocessor identifier, text is any text, x , y and so on are local preprocessor
identifiers, and in this form there may be one or more identifiers separated by
commas.
Used to provide a simple string replacement of the ID with the given text from this
point of the program and on.
In the second form (a C macro) the local identifiers are matched up with similar
identifiers in the text and they are replaced with text passed to the macro where it is
used.
If the text contains a string of the form #idx then the result upon evaluation will be
the parameter id concatenated with the string x.
If the text contains a string of the form #idx#idy then parameter idx is concatenated
with parameter idy forming a new identifier.
Within the define text two special operators are supported:
#x is the stringize operator resulting in "x"
x##y is the concatination operator resulting in xy
86
相关PDF资料
PCI-EXP-T42G5-N1 IP CORE PCI EXPRESS ORCA 4
PCM18XH2 PROCESSOR MODULE MPLAB-ICE 2000
PCM18XN0 PROCESSOR MODULE FOR ICE2000
PDA-B-24-615-E-2B1-1-C CIRCUIT BREAKER MAG 1P 15A
PFMF.260.2 PFMF PTC FUSE SMT 2.6A 1812
PFNF.200.2 PFNF PTC FUSE SMT 2A 1206
PFRY.375 PTC-FUSE RADIAL 72 VDC
PFSM.150.33.2 FUSE PTC 8A 15V FST-TRIP SMD
相关代理商/技术参数
PCD_09 制造商:MACOM 制造商全称:Tyco Electronics 功能描述:Low Profile PCB Relay PCD
PCD-00173-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0E 制造商:Molex 功能描述:Ethernet Cable Assembly
PCD-00173-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0K 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00174-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Red; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet ;RoHS Compliant: NA
PCD-00174-0E 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Grey; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet;RoHS Compliant: NA
PCD-00174-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY