4.5.6 Predefined Symbols

The assembler predefines several symbols which can be tested by conditional directives in source code.

Table 4-6. Predefined Symbols
SymbolDefinition
Device Family Symbols
__C30ELF16-bit compiler ELF output
__dsPIC30FdsPIC30F target device family
__dsPIC33AdsPIC33A target device family
__dsPIC33CdsPIC33C target device family
__dsPIC33EdsPIC33E target device family
__dsPIC33FdsPIC33F target device family
__MCHP16No target device family specified
Feature Symbols
__HAS_DSPDevice has a DSP engine
__HAS_EEDATADevice has EEDATA memory
__HAS_DMADevice has DMA memory
__HAS_DMAV2Device has DMA v2 support
__HAS_CODEGUARDDevice has Codeguard™ Security
__HAS_PMPDevice has Parallel Master Port (PMP)
__HAS_PMPV2Device has PMP v2 support
__HAS_PMP_ENHANCEDDevice has Enhanced PMP
__HAS_EDSDevice has EDS
__HAS_5VOLTSDevice is a 5-volt device