Pre-Processor
CONST definition, making CONST variables
located in program memory.
NESTED_INTERRUPTS=TRUE
NORETFIE
Enables interrupt nesting for PIC24, dsPIC30, and
dsPIC33 devices. Allows higher priority interrupts
to interrupt lower priority interrupts.
ISR functions (preceeded by a #int_xxx) will use a
RETURN opcode instead of the RETFIE opcode.
This is not a commonly used option; used rarely in
cases where the user is writing their own ISR
handler.
Both chip and options are optional, so multiple #DEVICE lines may be used to fully
define the device. Be warned that a #DEVICE with a chip identifier, will clear all
previous #DEVICE and #FUSE settings.
Compilation mode selection-
The #DEVICE directive supports compilation mode selection. The valid keywords are
CCS2, CCS3, CCS4 and ANSI. The default mode is CCS4. For the CCS4 and ANSI
mode, the compiler uses the default fuse settings NOLVP, PUT for chips with these
fuses. The NOWDT fuse is default if no call is made to restart_wdt().
CCS4
ANSI
CCS2
CCS3
CCS2
only
This is the default compilation mode. The pointer size in this mode for
PCM and PCH is set to *=16 if the part has RAM over 0FF.
Default data type is SIGNED all other modes default is UNSIGNED.
Compilation is case sensitive, all other modes are case insensitive.
Pointer size is set to *=16 if the part has RAM over 0FF.
var16 = NegConst8 is compiled as: var16 = NegConst8 & 0xff (no sign
extension) Pointer size is set to *=8 for PCM and PCH and *=5 for PCB
. The overload keyword is required.
The default #DEVICE ADC is set to the resolution of the part, all other
modes default to 8.
onebit = eightbits is compiled as onebit = (eightbits != 0)
All other modes compile as: onebit = (eightbits & 1)
Purpose: Chip Options -Defines the target processor. Every program must have exactly one
#DEVICE with a chip. When linking multiple compilation units, this directive must
appear exactly the same in each compilation unit.
Compilation mode selection - The compilation mode selection allows existing code
to be compiled without encountering errors created by compiler compliance. As CCS
discovers discrepancies in the way expressions are evaluated according to ANSI, the
change will generally be made only to the ANSI mode and the next major CCS
89
相关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