PCD
#BUILD
Syntax:
#BUILD( segment = address )
#BUILD( segment = address , segment = address )
#BUILD( segment = start : end )
#BUILD( segment = start : end , segment = start : end )
#BUILD( nosleep )
Elements: segment is one of the following memory segments which may be assigned a
location: MEMORY, RESET, or INTERRUPT
address is a ROM location memory address. Start and end are used to specify a
range in memory to be used.
start is the first ROM location and end is the last ROM location to be used.
nosleep is used to prevent the compiler from inserting a sleep at the end of main()
Bootload produces a bootloader-friendly hex file (in order, full block size).
NOSLEEP_LOCK is used instead of A sleep at the end of a main A infinite loop.
Purpose:
PIC18XXX devices with external ROM or PIC18XXX devices with no internal ROM
can direct the compiler to utilize the ROM.
When linking multiple compilation units,
this directive must appear exactly the same in each compilation unit.
Examples: #build(memory=0x20000:0x2FFFF) //Assigns memory space
#build(reset=0x200,interrupt=0x208) //Assigns start
//location
//of reset and
//interrupt
//vectors
#build(reset=0x200:0x207, interrupt=0x208:0x2ff)
//Assign limited space
//for reset and
//interrupt vectors.
#build(memory=0x20000:0x2FFFF)
//Assigns memory space
Example
None
Files:
Also See: #LOCATE, #RESERVE, #ROM, #ORG
#BYTE
Syntax:
Elements:
Purpose:
84
#BYTE id = x
id is a valid C identifier,
x is a C variable or a constant
If the id is already known as a C variable then this will locate the variable at address
相关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