1.4 List of Interesting Symbols
For a list of assembler and linker symbols, see “MPLAB® XC-DSC Assembler, Linker and Utilities User’s Guide for dsPIC33C/E/F and dsPIC30 DSC” (DS-50003590), “Lists of Interesting Symbols.”
| Symbol | Description | More Information |
|---|---|---|
|
|
This symbol is defined when XC-DSC compiler is in use. | 20.3.3 Compiler Output Type Macros |
|
or
|
These symbols are defined with the If defined, XC-DSC compiler is in use. | 20.3.3 Compiler Output Type Macros |
|
or
|
These symbols are defined with the If defined, compiler is producing ELF output. | 20.3.3 Compiler Output Type Macros |
__DATE__ | Current date as a C string | 20.3.6 Other Macros |
|
|
This symbol is defined when XC-DSC compiler is in use. | 20.3.3 Compiler Output Type Macros |
|
or
|
These symbols are defined with the If defined, compiler is producing ELF output. | 20.3.3 Compiler Output Type Macros |
|
|
Once the compiler defines a symbol based on the target device set
with | 20.3.4 Device Name and Family (Architecture) Macros |
|
or
|
These symbols are defined with the If defined, XC-DSC compiler is in use. | 20.3.3 Compiler Output Type Macros |
__dsPIC3xxxxxx__ |
The compiler defines a symbol based on the target device set with
| 20.3.4 Device Name and Family (Architecture) Macros |
__FILE__ | Current file name as a C string | 20.3.6 Other Macros |
__HAS_5VOLTS__ |
Device is a 5-volt device. If device feature is enabled, the symbol is defined. | 20.3.5 Device Features Macros |
__HAS_AUXFLASH__ |
Device has auxiliary Flash. If device feature is enabled, the symbol is defined. | 20.3.5 Device Features Macros |
__HAS_CODEGUARD__ |
Device has CodeGuard™ Security. If device feature is enabled, the symbol is defined. | 20.3.5 Device Features Macros |
__HAS_DMA__ |
Device has a DMA controller. If device feature is enabled, the symbol is defined. This is a generic macro which is set if any DMA controller is
present. This DOES NOT indicate that DMA memory is present. To
determine if there is any DMA memory, use the
| 20.3.5 Device Features Macros |
__HAS_DMAV2__ |
Device has a DMA V2 controller. If device feature is enabled, the symbol is defined. This macro is set if a DMA V2 controller is present. This DOES NOT
indicate that DMA memory is present. To determine if there is any
DMA memory, use the | 20.3.5 Device Features Macros |
__HAS_DSP__ |
Device has a DSP engine. If device feature is enabled, the symbol is defined. | 20.3.5 Device Features Macros |
__HAS_EDS__ |
Device has Extended Data Space. If device feature is enabled, the symbol is defined. | 20.3.5 Device Features Macros |
__HAS_EEDATA__ |
Device has EEPROM data (EEData) memory. If device feature is enabled, the symbol is defined. | 20.3.5 Device Features Macros |
__HAS_PMP__ |
Device has Parallel Master Port. If device feature is enabled, the symbol is defined. | 20.3.5 Device Features Macros |
__HAS_PMPV2__ |
Device has Parallel Master Port V2. If device feature is enabled, the symbol is defined. | 20.3.5 Device Features Macros |
|
|
Set to | 20.3.2 Compiler Settings Macro |
__LINE__ | Current line number as a decimal integer | 20.3.6 Other Macros |
|
|
Set to the value of the big | 20.3.2 Compiler Settings Macro |
|
|
Defined if | 20.3.2 Compiler Settings Macro |
|
|
The linker scripts construct a |
See the “MPLAB® XC-DSC Assembler, Linker and Utilities User’s Guide for dsPIC33C/E/F and dsPIC30 DSC” (DS-50003590), “Lists of Interesting Symbols.” |
|
|
The linker will allocate an appropriately sized section and
initialize | |
|
|
This symbol is defined when XC-DSC compiler is in use. | 20.3.3 Compiler Output Type Macros |
|
or
|
These symbols are defined with the If defined, XC-DSC compiler is in use. | 20.3.3 Compiler Output Type Macros |
|
or
|
These symbols are defined with the If defined, compiler is producing ELF output. | 20.3.3 Compiler Output Type Macros |
|
|
The compiler will define this constant, giving a numeric value to the version identifier. | 20.3.1 Compiler Version Macro |
