Pre-Processor
be used to see the macro expansion. The command may also be used to alert the
user to an invalid compile time situation.
Examples: #if BUFFER_SIZE>16
#error Buffer size is too large
#endif
Example
Files:
#error
Macro test:
min(x,y)
Also See:
#WARNING
#EXPORT (options)
Syntax:
Elements:
#EXPORT (options)
FILE=filname
The filename which will be generated upon compile. If not given, the filname
will be the name of the file you are compiling, with a .o or .hex extension
(depending on output format).
ONLY=symbol+symbol+.....+symbol
Only the listed symbols will be visible to modules that import or link this
relocatable object file. If neither ONLY or EXCEPT is used, all symbols are
exported.
EXCEPT=symbol+symbol+.....+symbol
All symbols except the listed symbols will be visible to modules that import or
link this relocatable object file. If neither ONLY or EXCEPT is used, all
symbols are exported.
RELOCATABLE
CCS relocatable object file format. Must be imported or linked before loading
into a PIC. This is the default format when the #EXPORT is used.
HEX
Intel HEX file format. Ready to be loaded into a PIC. This is the default format
when no #EXPORT is used.
RANGE=start:stop
Only addresses in this range are included in the hex file.
OFFSET=address
Hex file address starts at this address (0 by default)
ODD
Only odd bytes place in hex file.
EVEN
91
相关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